Gets the default property for the specified type of component.
[Visual Basic] Overloads Public Shared Function GetDefaultProperty( _ ByVal componentType As Type _ ) As PropertyDescriptor [C#] public static PropertyDescriptor GetDefaultProperty( Type componentType ); [C++] public: static PropertyDescriptor* GetDefaultProperty( Type* componentType ); [JScript] public static function GetDefaultProperty( componentType : Type ) : PropertyDescriptor;
A PropertyDescriptor with the default property, or a null reference (in Visual Basic Nothing) if there are no properties.
Call this version of this method only when you do not have an instance of the object.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetDefaultProperty Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor