.NET Framework Class Library  

PropertyValueCollection Members

PropertyValueCollection overview

Public Properties

public propertyCount (inherited from CollectionBase) Gets the number of elements contained in the CollectionBase instance.
public propertyItem Gets or sets the property value that is located at a specified index of this collection.

In C#, this property is the indexer for the PropertyValueCollection class.

public propertyValue Gets or sets the values of the collection.

Public Methods

public methodAdd Appends a property value to this collection.
public methodAddRange Overloaded. Appends a set of property values to this collection.
public methodClear (inherited from CollectionBase) Removes all objects from the CollectionBase instance.
public methodContains Determines whether a specified property value is in this collection.
public methodCopyTo Copies the properties from this collection to an array, starting at a particular index of the array.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator (inherited from CollectionBase) Returns an enumerator that can iterate through the CollectionBase instance.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIndexOf Retrieves the index of a specified property value in this collection.
public methodInsert Inserts a property value into this collection at a specified index.
public methodRemove Removes a specified property value from this collection.
public methodRemoveAt (inherited from CollectionBase) Removes the element at the specified index of the CollectionBase instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Properties

protected propertyInnerList (inherited from CollectionBase) Gets an ArrayList containing the list of elements in the CollectionBase instance.
protected propertyList (inherited from CollectionBase) Gets an IList containing the list of elements in the CollectionBase instance.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnClear (inherited from CollectionBase) Performs additional custom processes when clearing the contents of the CollectionBase instance.
protected methodOnClearComplete Overridden. See CollectionBase.OnClearComplete.
protected methodOnInsert (inherited from CollectionBase) Performs additional custom processes before inserting a new element into the CollectionBase instance.
protected methodOnInsertComplete Overridden. See CollectionBase.OnInsertComplete.
protected methodOnRemove (inherited from CollectionBase) Performs additional custom processes when removing an element from the CollectionBase instance.
protected methodOnRemoveComplete Overridden. See CollectionBase.OnRemoveComplete.
protected methodOnSet (inherited from CollectionBase) Performs additional custom processes before setting a value in the CollectionBase instance.
protected methodOnSetComplete Overridden. See CollectionBase.OnSetComplete.
protected methodOnValidate (inherited from CollectionBase) Performs additional custom processes when validating a value.

See Also

PropertyValueCollection Class | System.DirectoryServices Namespace