This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
PropertyDescriptor Methods
The methods of the PropertyDescriptor class are listed below. For a complete list of PropertyDescriptor class members, see the PropertyDescriptor Members topic.
Public:
CanResetValue |
When overridden in a derived class, indicates whether resetting the component will change the value of the component. |
Equals |
Compares this to another PropertyDescriptor to see if they are equivalent. |
GetDesignTimeOnly (inherited from MemberDescriptor) |
Determines whether this member should be set only at design time as specified in the DesignOnlyAttribute. |
GetDisplayName (inherited from MemberDescriptor) |
Gets the name that can be displayed in a window like a property browser. |
GetEditor |
Gets an editor of the specified type. |
GetHashCode (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. |
GetHelpTopic (inherited from MemberDescriptor) |
Gets the name of the Help topic specified in the HelpAttribute. |
GetHelpURL (inherited from MemberDescriptor) |
Gets the URL for the Help file specified in the HelpAttribute. |
GetType (inherited from Object) |
Gets the Type of the Object. |
GetValue |
When overridden in a derived class, gets the current value of the property on a component. |
ResetValue |
When overridden in a derived class, resets the value for this property of the component. |
SetValue |
When overridden in a derived class, sets the value of the component to a different value. |
ShouldPersistValue |
When overridden in a derived class, indicates whether the value of this property needs to be persisted. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
CreateAttributeCollection (inherited from MemberDescriptor) |
Creates a collection of attributes using the array of attributes that you passed to the constructor. |
CreateInstance |
Creates an instance of the specified type. |
FillAttributes (inherited from MemberDescriptor) |
In an inheriting class, adds the attributes of the inheriting class to the specified list of attributes in the parent class. |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
PropertyDescriptor Class | System.ComponentModel Namespace