ControlPropertiesCollection

ControlPropertiesCollection类

AcitveX属性的集合。

public class ControlPropertiesCollection : IControlPropertiesCollection

属性

名称描述
Count { get; }返回集合中的属性数量。只读 Int32。
Item { get; set; }返回或设置属性。
NamesOfProperties { get; }返回属性名称的集合。只读 ICollection。

方法

名称描述
Add(string, string)将属性添加到集合中。
Clear()移除所有属性。
GetEnumerator()返回一个枚举器,该枚举器遍历集合。
Remove(string)移除具有指定名称的属性。

另请参阅