Retrieves the default property for the current browse object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Overridable Function GetDefaultProperty As PropertyDescriptor
'使用
Dim instance As DataViewBrowseObject
Dim returnValue As PropertyDescriptor
returnValue = instance.GetDefaultProperty()
public virtual PropertyDescriptor GetDefaultProperty()
public:
virtual PropertyDescriptor^ GetDefaultProperty()
public function GetDefaultProperty() : PropertyDescriptor
Return Value
Type: System.ComponentModel.PropertyDescriptor
Returns the default property for the current browse object, or a null reference (Nothing in Visual Basic) if there are no properties.
Implements
ICustomTypeDescriptor.GetDefaultProperty()
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.