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
public virtual PropertyDescriptor GetDefaultProperty()
public:
virtual PropertyDescriptor^ GetDefaultProperty()
abstract GetDefaultProperty : unit -> PropertyDescriptor  
override GetDefaultProperty : unit -> PropertyDescriptor
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

Microsoft.VisualStudio.Data.Framework Namespace