Freigeben über


ICustomTypeDescriptor.GetDefaultProperty-Methode

Gibt die Standardeigenschaft für diese Instanz einer Komponente zurück.

Namespace: System.ComponentModel
Assembly: System (in system.dll)

Syntax

'Declaration
Function GetDefaultProperty As PropertyDescriptor
'Usage
Dim instance As ICustomTypeDescriptor
Dim returnValue As PropertyDescriptor

returnValue = instance.GetDefaultProperty
PropertyDescriptor GetDefaultProperty ()
PropertyDescriptor^ GetDefaultProperty ()
PropertyDescriptor GetDefaultProperty ()
function GetDefaultProperty () : PropertyDescriptor

Rückgabewert

Ein PropertyDescriptor, der die Standardeigenschaft dieses Objekts darstellt, oder NULL (Nothing in Visual Basic), wenn dieses Objekt keine Eigenschaften aufweist.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

ICustomTypeDescriptor-Schnittstelle
ICustomTypeDescriptor-Member
System.ComponentModel-Namespace
System.ComponentModel.TypeDescriptor.GetDefaultProperty
PropertyDescriptor
GetDefaultEvent