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

'宣言
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

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace