This documentation is archived and is not being maintained.

PropertyDescriptorCollection Methods

The methods of the PropertyDescriptorCollection class are listed here. For a complete list of PropertyDescriptorCollection class members, see the PropertyDescriptorCollection Members topic.

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Adds the specified PropertyDescriptor to the collection.
public methodClear

Supported by the .NET Compact Framework.

Removes all PropertyDescriptor objects from the collection.
public methodContains

Supported by the .NET Compact Framework.

Returns whether the collection contains the given PropertyDescriptor.
public methodCopyTo

Supported by the .NET Compact Framework.

Copies the entire collection to an array, starting at the specified index number.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFind

Supported by the .NET Compact Framework.

Returns the PropertyDescriptor with the specified name, using a Boolean to indicate whether to ignore case.
public methodGetEnumerator

Supported by the .NET Compact Framework.

Returns an enumerator for this class.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

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)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf

Supported by the .NET Compact Framework.

Returns the index of the given PropertyDescriptor.
public methodInsert

Supported by the .NET Compact Framework.

Adds the PropertyDescriptor to the collection at the specified index number.
public methodRemove

Supported by the .NET Compact Framework.

Removes the specified PropertyDescriptor from the collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Removes the PropertyDescriptor at the specified index from the collection.
public methodSort Overloaded. Sorts the members of this collection.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

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 methodInternalSort Overloaded. Sorts the members of this collection.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

PropertyDescriptorCollection Class | System.ComponentModel Namespace

Show: