BehaviorPropertyCollection
BehaviorPropertyCollection 类
表示效果行为的时间属性。
public class BehaviorPropertyCollection : IBehaviorPropertyCollection
属性
| 名称 | 描述 |
|---|
| Count { get; } | 返回集合中存储的属性数量。只读 Int32。 |
| IsReadOnly { get; } | 获取一个值,指示 ICollection 是否为只读。只读 Boolean。 |
| Item { get; set; } | 返回指定索引处的属性。 |
方法
| 名称 | 描述 |
|---|
| Add(IBehaviorProperty) | 向集合中添加新属性。 |
| Add(string) | 向集合中添加新属性。 |
| Clear() | 从集合中移除所有属性。 |
| Contains(IBehaviorProperty) | 确定 ICollection 是否包含特定值。 |
| Contains(string) | 确定 ICollection 是否包含特定值。 |
| CopyTo(IBehaviorProperty[], int) | 将 ICollection 的元素复制到 Array 中,从特定的 Array 索引开始。 |
| GetEnumerator() | 返回遍历集合的枚举器。 |
| IndexOf(IBehaviorProperty) | 确定 IList 中特定项的索引。 |
| IndexOf(string) | 通过属性值在 IList 中确定特定项的索引。 |
| Insert(int, IBehaviorProperty) | 在指定索引处向集合插入新属性。 |
| Insert(int, string) | 在指定索引处向集合插入新属性(使用指定的属性值)。 |
| Remove(IBehaviorProperty) | 从集合中移除指定属性。 |
| Remove(string) | 从集合中移除指定属性。 |
| RemoveAt(int) | 在指定索引处移除属性。 |
参见