Freigeben über


PropertyTab.GetDefaultProperty-Methode

Ruft die Standardeigenschaft der angegebenen Komponente ab.

Namespace: System.Windows.Forms.Design
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Overridable Function GetDefaultProperty ( _
    component As Object _
) As PropertyDescriptor
'Usage
Dim instance As PropertyTab
Dim component As Object
Dim returnValue As PropertyDescriptor

returnValue = instance.GetDefaultProperty(component)
public virtual PropertyDescriptor GetDefaultProperty (
    Object component
)
public:
virtual PropertyDescriptor^ GetDefaultProperty (
    Object^ component
)
public PropertyDescriptor GetDefaultProperty (
    Object component
)
public function GetDefaultProperty (
    component : Object
) : PropertyDescriptor

Parameter

  • component
    Die Komponente, deren Standardeigenschaft abgerufen werden soll.

Rückgabewert

Ein PropertyDescriptor, der die Standardeigenschaft darstellt.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, 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

Siehe auch

Referenz

PropertyTab-Klasse
PropertyTab-Member
System.Windows.Forms.Design-Namespace