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)移除具有指定名称的属性。

另见