PropertyDescriptorCollection 构造函数

定义

初始化 PropertyDescriptorCollection 类的新实例。

重载

名称 说明
PropertyDescriptorCollection(PropertyDescriptor[])

初始化 PropertyDescriptorCollection 类的新实例。

PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

初始化类的新实例,该实例 PropertyDescriptorCollection (可选)为只读。

PropertyDescriptorCollection(PropertyDescriptor[])

Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs

初始化 PropertyDescriptorCollection 类的新实例。

public:
 PropertyDescriptorCollection(cli::array <System::ComponentModel::PropertyDescriptor ^> ^ properties);
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[]? properties);
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[] properties);
new System.ComponentModel.PropertyDescriptorCollection : System.ComponentModel.PropertyDescriptor[] -> System.ComponentModel.PropertyDescriptorCollection
Public Sub New (properties As PropertyDescriptor())

参数

properties
PropertyDescriptor[]

一个类型 PropertyDescriptor 数组,该数组提供此集合的属性。

另请参阅

适用于

PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs

初始化类的新实例,该实例 PropertyDescriptorCollection (可选)为只读。

public:
 PropertyDescriptorCollection(cli::array <System::ComponentModel::PropertyDescriptor ^> ^ properties, bool readOnly);
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[]? properties, bool readOnly);
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[] properties, bool readOnly);
new System.ComponentModel.PropertyDescriptorCollection : System.ComponentModel.PropertyDescriptor[] * bool -> System.ComponentModel.PropertyDescriptorCollection
Public Sub New (properties As PropertyDescriptor(), readOnly As Boolean)

参数

properties
PropertyDescriptor[]

一个类型 PropertyDescriptor 数组,该数组提供此集合的属性。

readOnly
Boolean

如果 true指定无法修改集合。

另请参阅

适用于