ProvidePropertyAttribute 构造函数

定义

初始化 ProvidePropertyAttribute 类的新实例。

重载

名称 说明
ProvidePropertyAttribute(String, String)

使用属性的名称及其接收器的类型初始化类的新实例 ProvidePropertyAttribute

ProvidePropertyAttribute(String, Type)

使用属性的名称及其ProvidePropertyAttribute名称初始化类的新实例Type

ProvidePropertyAttribute(String, String)

Source:
ProvidePropertyAttribute.cs
Source:
ProvidePropertyAttribute.cs
Source:
ProvidePropertyAttribute.cs
Source:
ProvidePropertyAttribute.cs
Source:
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)

Source:
ProvidePropertyAttribute.cs
Source:
ProvidePropertyAttribute.cs
Source:
ProvidePropertyAttribute.cs
Source:
ProvidePropertyAttribute.cs
Source:
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可以接收属性的对象数据类型。

适用于