ICustomTypeDescriptor.GetDefaultProperty Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the default property for this instance of a component.
public:
 System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty();[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")]
public System.ComponentModel.PropertyDescriptor? GetDefaultProperty();public System.ComponentModel.PropertyDescriptor GetDefaultProperty();[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")>]
abstract member GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptorabstract member GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptorPublic Function GetDefaultProperty () As PropertyDescriptorReturns
A PropertyDescriptor that represents the default property for this object, or null if this object does not have properties.
- Attributes