Freigeben über


DefaultValueAttribute-Konstruktor (String)

Initialisiert eine neue Instanz der DefaultValueAttribute-Klasse unter Verwendung eines String.

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

Syntax

'Declaration
Public Sub New ( _
    value As String _
)
'Usage
Dim value As String

Dim instance As New DefaultValueAttribute(value)
public DefaultValueAttribute (
    string value
)
public:
DefaultValueAttribute (
    String^ value
)
public DefaultValueAttribute (
    String value
)
public function DefaultValueAttribute (
    value : String
)

Parameter

  • value
    Ein String, der der Standardwert ist.

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

DefaultValueAttribute-Klasse
DefaultValueAttribute-Member
System.ComponentModel-Namespace