ProvidePropertyAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
扩展到指定类型的对象的属性的名称。