Share via


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

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace