Gets the default property for the specified component.
[Visual Basic] Overloads Public Shared Function GetDefaultProperty( _ ByVal component As Object, _ ByVal fNoCustomTypeDesc As Boolean _ ) As PropertyDescriptor [C#] public static PropertyDescriptor GetDefaultProperty( object component, bool fNoCustomTypeDesc ); [C++] public: static PropertyDescriptor* GetDefaultProperty( Object* component, bool fNoCustomTypeDesc ); [JScript] public static function GetDefaultProperty( component : Object, fNoCustomTypeDesc : Boolean ) : PropertyDescriptor;
A PropertyDescriptor with the default property, or a null reference (in Visual Basic Nothing) if there are no properties.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetDefaultProperty Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | ICustomTypeDescriptor