Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICustomTypeDescriptor.GetDefaultProperty Method

Returns the default property for this object.

[Visual Basic]
Function GetDefaultProperty() As PropertyDescriptor
[C#]
PropertyDescriptor GetDefaultProperty();
[C++]
PropertyDescriptor* GetDefaultProperty();
[JScript]
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.

Requirements

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft