Class PropertyKeyedCollectionT
PropertyKeyedCollection<T> class
属性集合的基类。
public abstract class PropertyKeyedCollection<T> : PropertyCollection<T>, ICollection<T>
where T : Property
| 范围 | 描述 |
|---|---|
| T | 财产的类型。 |
特性
| 姓名 | 描述 |
|---|---|
| Count { get; } | 获取集合中的属性数。 |
| abstract IsReadOnly { get; } | 获取一个值,表示这个集合是否是只读的;否则为 false. |
| Item { get; } | 获取与指定键关联的属性。 |
| Names { get; } | 获取所有属性名称的集合。 |
方法
| 姓名 | 描述 |
|---|---|
| Add(T) | 创建新的自定义属性。 |
| Contains(string) | 确定是否PropertyCollection包含具有指定名称的属性。 |
也可以看看
- class PropertyCollection<T>
- class Property
- 命名空间 Aspose.Tasks.Properties
- 部件 Aspose.Tasks