This documentation is archived and is not being maintained.

PropertyDescriptorCollection Members

PropertyDescriptorCollection overview

Public Constructors

public constructorPropertyDescriptorCollection Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the PropertyDescriptorCollection class.

Public Fields

public fieldstatic (Shared in Visual Basic)Empty

Supported by the .NET Compact Framework.

Specifies an empty collection that you can use instead of creating a new one with no items. This static (Shared in Visual Basic) field is read-only.

Public Properties

public propertyCount

Supported by the .NET Compact Framework.

Gets the number of property descriptors in the collection.
public propertyItem Overloaded. Gets the specified PropertyDescriptor.

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

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.

Explicit Interface Implementations

See Also

PropertyDescriptorCollection Class | System.ComponentModel Namespace

Show: