ControlPropertiesCollection

ControlPropertiesCollection 类

AcitveX属性的集合。

public class ControlPropertiesCollection : IControlPropertiesCollection

属性

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

方法

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

另请参见