Share via


ProvidePropertyAttribute Konstruktor

Definisi

Menginisialisasi instans baru kelas ProvidePropertyAttribute.

Overload

ProvidePropertyAttribute(String, String)

Menginisialisasi instans ProvidePropertyAttribute baru kelas dengan nama properti dan jenis penerimanya.

ProvidePropertyAttribute(String, Type)

Menginisialisasi instans ProvidePropertyAttribute baru kelas dengan nama properti dan Type.

ProvidePropertyAttribute(String, String)

Sumber:
ProvidePropertyAttribute.cs
Sumber:
ProvidePropertyAttribute.cs
Sumber:
ProvidePropertyAttribute.cs

Menginisialisasi instans ProvidePropertyAttribute baru kelas dengan nama properti dan jenis penerimanya.

public:
 ProvidePropertyAttribute(System::String ^ propertyName, System::String ^ receiverTypeName);
public ProvidePropertyAttribute (string propertyName, string receiverTypeName);
new System.ComponentModel.ProvidePropertyAttribute : string * string -> System.ComponentModel.ProvidePropertyAttribute
Public Sub New (propertyName As String, receiverTypeName As String)

Parameter

propertyName
String

Nama properti yang diperluas ke objek dari jenis yang ditentukan.

receiverTypeName
String

Nama tipe data yang dapat diperluas properti ini.

Berlaku untuk

ProvidePropertyAttribute(String, Type)

Sumber:
ProvidePropertyAttribute.cs
Sumber:
ProvidePropertyAttribute.cs
Sumber:
ProvidePropertyAttribute.cs

Menginisialisasi instans ProvidePropertyAttribute baru kelas dengan nama properti dan Type.

public:
 ProvidePropertyAttribute(System::String ^ propertyName, Type ^ receiverType);
public ProvidePropertyAttribute (string propertyName, Type receiverType);
new System.ComponentModel.ProvidePropertyAttribute : string * Type -> System.ComponentModel.ProvidePropertyAttribute
Public Sub New (propertyName As String, receiverType As Type)

Parameter

propertyName
String

Nama properti yang diperluas ke objek dari jenis yang ditentukan.

receiverType
Type

Type Dari jenis data objek yang dapat menerima properti .

Berlaku untuk