Class CustomProjectPropertyCollection

CustomProjectPropertyCollection class

表示自定义项目属性的集合。

public sealed class CustomProjectPropertyCollection : PropertyKeyedCollection<CustomProjectProperty>

构造函数

姓名 描述
CustomProjectPropertyCollection() 初始化一个新的实例CustomProjectPropertyCollection班级。

特性

姓名 描述
Count { get; }
override IsReadOnly { get; } 获取一个值,表示这个集合是否是只读的;否则为 false.
Item { get; }
Names { get; }

方法

姓名 描述
Add(CustomProjectProperty)
Add(string, bool) 创建新的自定义属性。
Add(string, DateTime) 创建新的自定义属性。
Add(string, double) 创建新的自定义属性。
Add(string, string) 创建新的自定义属性。
Clear() 清除 PropertyCollection.
Contains(string)
Remove(string) 从集合中删除具有指定名称的属性。

也可以看看