ProvidePropertyAttribute-Konstruktor (String, Type)
Initialisiert eine neue Instanz der ProvidePropertyAttribute-Klasse mit dem Namen der Eigenschaft und deren Type.
Namespace: System.ComponentModel
Assembly: System (in system.dll)
Syntax
'Declaration
Public Sub New ( _
propertyName As String, _
receiverType As Type _
)
'Usage
Dim propertyName As String
Dim receiverType As Type
Dim instance As New ProvidePropertyAttribute(propertyName, receiverType)
public ProvidePropertyAttribute (
string propertyName,
Type receiverType
)
public:
ProvidePropertyAttribute (
String^ propertyName,
Type^ receiverType
)
public ProvidePropertyAttribute (
String propertyName,
Type receiverType
)
public function ProvidePropertyAttribute (
propertyName : String,
receiverType : Type
)
Parameter
- propertyName
Der Name der Eigenschaft, die auf ein Objekt vom angegebenen Typ erweitert wird.
- receiverType
Der Type des Datentyps von dem Objekt, das die Eigenschaft erhalten kann.
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
ProvidePropertyAttribute-Klasse
ProvidePropertyAttribute-Member
System.ComponentModel-Namespace