DataViewBrowseObject.GetDefaultProperty Method
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
'Declaration
Public Overridable Function GetDefaultProperty As PropertyDescriptor
'Usage
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 nulla null reference (Nothing in Visual Basic) if there are no properties.
Implements
ICustomTypeDescriptor.GetDefaultProperty()
.NET Framework Security
- 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.