public virtual StringArray AsReadOnly()
        {
            StringArray readOnlyStringArray = (StringArray)this.Clone();

            readOnlyStringArray.readOnly = true;
            return(readOnlyStringArray);
        }
Beispiel #2
0
 protected StringArray(StringArray original, Cloner cloner)
     : base(original, cloner)
 {
     this.array        = (string[])original.array.Clone();
     this.readOnly     = original.readOnly;
     this.elementNames = new List <string>(original.elementNames);
 }