ProvidePropertyAttribute Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ProvidePropertyAttribute.

Przeciążenia

ProvidePropertyAttribute(String, String)

Inicjuje ProvidePropertyAttribute nowe wystąpienie klasy o nazwie właściwości i typie jej odbiornika.

ProvidePropertyAttribute(String, Type)

Inicjuje ProvidePropertyAttribute nowe wystąpienie klasy o nazwie właściwości i jej Typewłaściwości .

ProvidePropertyAttribute(String, String)

Inicjuje ProvidePropertyAttribute nowe wystąpienie klasy o nazwie właściwości i typie jej odbiornika.

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)

Parametry

propertyName
String

Nazwa właściwości rozciągającej się na obiekt określonego typu.

receiverTypeName
String

Nazwa typu danych, który może rozszerzyć ta właściwość.

Dotyczy

ProvidePropertyAttribute(String, Type)

Inicjuje ProvidePropertyAttribute nowe wystąpienie klasy o nazwie właściwości i jej Typewłaściwości .

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)

Parametry

propertyName
String

Nazwa właściwości rozciągającej się na obiekt określonego typu.

receiverType
Type

Typ Type danych obiektu, który może odbierać właściwość.

Dotyczy