IControlPropertiesCollection

IControlPropertiesCollection 接口

ActiveX 控件的集合。

public interface IControlPropertiesCollection : IEnumerable<KeyValuePair<string, string>>

属性

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

方法

名称描述
Add(string, string)向集合中添加属性。
Clear()移除所有属性。
Remove(string)移除具有指定名称的属性。

另见