This documentation is archived and is not being maintained.

PropertyDescriptor Methods

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

Public Methods

public methodAddValueChanged

Supported by the .NET Compact Framework.

Enables other objects to be notified when this property changes.
public methodCanResetValue

Supported by the .NET Compact Framework.

When overridden in a derived class, returns whether resetting an object changes its value.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Compares this to another object to see if they are equivalent.
public methodGetChildProperties Overloaded. Returns a PropertyDescriptorCollection.
public methodGetEditor Gets an editor of the specified type.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. See Object.GetHashCode.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodGetValue

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the current value of the property on a component.
public methodRemoveValueChanged

Supported by the .NET Compact Framework.

Enables other objects to be notified when this property changes.
public methodResetValue

Supported by the .NET Compact Framework.

When overridden in a derived class, resets the value for this property of the component to the default value.
public methodSetValue

Supported by the .NET Compact Framework.

When overridden in a derived class, sets the value of the component to a different value.
public methodShouldSerializeValue

Supported by the .NET Compact Framework.

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodCreateAttributeCollection (inherited from MemberDescriptor)

Supported by the .NET Compact Framework.

Creates a collection of attributes using the array of attributes passed to the constructor.
protected methodCreateInstance Creates an instance of the specified type.
protected methodFillAttributes (inherited from MemberDescriptor)

Supported by the .NET Compact Framework.

When overridden in a derived class, adds the attributes of the inheriting class to the specified list of attributes in the parent class.
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 methodGetTypeFromName Returns a type using its name.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodOnValueChanged

Supported by the .NET Compact Framework.

Raises the ValueChanged event that you implemented.

See Also

PropertyDescriptor Class | System.ComponentModel Namespace

Show: