Freigeben über


DataViewBrowseObject.GetDefaultProperty-Methode

Ruft die Standardeigenschaft für das aktuelle Suchobjekt ab.

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

Rückgabewert

Typ: PropertyDescriptor
Gibt die Standardeigenschaft für das aktuelle Suchobjekt oder nullein Nullverweis (Nothing in Visual Basic) zurück, wenn keine Eigenschaften gibt.

Implementiert

ICustomTypeDescriptor.GetDefaultProperty

.NET Framework-Sicherheit

Siehe auch

Referenz

DataViewBrowseObject Klasse

Microsoft.VisualStudio.Data.Framework-Namespace