类 PropertyCollection

PropertyCollection class

属性集合

public class PropertyCollection : IEnumerable<Property>

属性

名称描述
Count { get; }获取已声明属性的数量。
Item { get; }
Item { get; set; }

方法

名称描述
FindProperty(string)查找属性。它可以是动态属性(由 CreateDynamicProperty/SetProperty 创建)或本地属性(通过其名称识别)
GetEnumerator()返回遍历集合的枚举器。
RemoveProperty(Property)移除动态属性。
RemoveProperty(string)移除动态属性。

另请参见