This documentation is archived and is not being maintained.

ICustomTypeDescriptor.GetDefaultProperty Method

Returns the default property for this object.

[Visual Basic]
Function GetDefaultProperty() As PropertyDescriptor
PropertyDescriptor GetDefaultProperty();
PropertyDescriptor* GetDefaultProperty();
function GetDefaultProperty() : PropertyDescriptor;

Return Value

A PropertyDescriptor that represents the default property for this object, or a null reference (Nothing in Visual Basic) if this object does not have properties.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

ICustomTypeDescriptor Interface | ICustomTypeDescriptor Members | System.ComponentModel Namespace | ICustomTypeDescriptor | TypeDescriptor | PropertyDescriptor