CommaDelimitedStringCollection Members
Collapse the table of content
Expand the table of content

CommaDelimitedStringCollection Members

Represents a collection of string elements separated by commas. This class cannot be inherited.

The following tables list the members exposed by the CommaDelimitedStringCollection type.

  Name Description
Public method CommaDelimitedStringCollection Creates a new instance of the CommaDelimitedStringCollection class.

  Name Description
Public property Count  Gets the number of strings contained in the StringCollection.(Inherited from StringCollection.)
Public property IsModified Gets a value that specifies whether the collection has been modified.
Public property IsReadOnly Gets a value indicating whether the collection object is read-only.
Public property IsSynchronized  Gets a value indicating whether access to the StringCollection is synchronized (thread safe).(Inherited from StringCollection.)
Public property Item Gets or sets a string element in the collection based on the index.
Public property SyncRoot  Gets an object that can be used to synchronize access to the StringCollection.(Inherited from StringCollection.)

(see also Protected Methods )
  Name Description
Public method Add Adds a string to the comma-delimited collection.
Public method AddRange Adds all the strings in a string array to the collection.
Public method Clear Clears the collection.
Public method Clone Creates a copy of the collection.
Public method Contains  Determines whether the specified string is in the StringCollection. (Inherited from StringCollection.)
Public method CopyTo  Copies the entire StringCollection values to a one-dimensional array of strings, starting at the specified index of the target array. (Inherited from StringCollection.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator  Returns a StringEnumerator that iterates through the StringCollection. (Inherited from StringCollection.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf  Searches for the specified string and returns the zero-based index of the first occurrence within the StringCollection. (Inherited from StringCollection.)
Public method Insert Adds a string element to the collection at the specified index.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes a string element from the collection.
Public method RemoveAt  Removes the string at the specified index of the StringCollection. (Inherited from StringCollection.)
Public method SetReadOnly Sets the collection object to read-only.
Public method ToString Overridden. Returns a string representation of the object.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Community Additions

© 2016 Microsoft