ProvidePropertyAttribute 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ProvidePropertyAttribute 类的新实例。
重载
| ProvidePropertyAttribute(String, String) | 用该属性的名称和它的接收器类型初始化 ProvidePropertyAttribute 类的新实例。 | 
| ProvidePropertyAttribute(String, Type) | 用该属性的名称和它的 ProvidePropertyAttribute 初始化 Type 类的新实例。 | 
ProvidePropertyAttribute(String, String)
- 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.ProvidePropertyAttributePublic Sub New (propertyName As String, receiverTypeName As String)参数
- propertyName
- String
扩展到指定类型对象的属性名称。
- receiverTypeName
- String
此属性可以扩展的数据类型的名称。
适用于
ProvidePropertyAttribute(String, Type)
- 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.ProvidePropertyAttributePublic Sub New (propertyName As String, receiverType As Type)参数
- propertyName
- String
扩展到指定类型对象的属性名称。