Gets the default property for a component.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Function GetDefaultProperty As PropertyDescriptor
'使用
Dim instance As LocalizableProperties
Dim returnValue As PropertyDescriptor
returnValue = instance.GetDefaultProperty()
public PropertyDescriptor GetDefaultProperty()
public:
virtual PropertyDescriptor^ GetDefaultProperty() sealed
public final function GetDefaultProperty() : PropertyDescriptor
Return Value
Type: System.ComponentModel.PropertyDescriptor
Returns a PropertyDescriptor.
Implements
ICustomTypeDescriptor.GetDefaultProperty()
Remarks
Delegates to TypeDescriptor.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.