ProvidePropertyAttribute Конструкторы

Определение

Инициализирует новый экземпляр класса ProvidePropertyAttribute.

Перегрузки

Имя Описание
ProvidePropertyAttribute(String, String)

Инициализирует новый экземпляр ProvidePropertyAttribute класса с именем свойства и типом приемника.

ProvidePropertyAttribute(String, Type)

Инициализирует новый экземпляр ProvidePropertyAttribute класса с именем свойства и его Type.

ProvidePropertyAttribute(String, String)

Исходный код:
ProvidePropertyAttribute.cs
Исходный код:
ProvidePropertyAttribute.cs
Исходный код:
ProvidePropertyAttribute.cs
Исходный код:
ProvidePropertyAttribute.cs
Исходный код:
ProvidePropertyAttribute.cs

Инициализирует новый экземпляр ProvidePropertyAttribute класса с именем свойства и типом приемника.

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)

Параметры

propertyName
String

Имя свойства, расширяющего объект указанного типа.

receiverTypeName
String

Имя типа данных, который может расширить это свойство.

Применяется к

ProvidePropertyAttribute(String, Type)

Исходный код:
ProvidePropertyAttribute.cs
Исходный код:
ProvidePropertyAttribute.cs
Исходный код:
ProvidePropertyAttribute.cs
Исходный код:
ProvidePropertyAttribute.cs
Исходный код:
ProvidePropertyAttribute.cs

Инициализирует новый экземпляр ProvidePropertyAttribute класса с именем свойства и его 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)

Параметры

propertyName
String

Имя свойства, расширяющего объект указанного типа.

receiverType
Type

Тип Type данных объекта, который может получить свойство.

Применяется к