SettingsPropertyCollection 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含 SettingsProperty 对象的集合。
public ref class SettingsPropertyCollection : ICloneable, System::Collections::ICollectionpublic class SettingsPropertyCollection : ICloneable, System.Collections.ICollectiontype SettingsPropertyCollection = class
    interface ICollection
    interface IEnumerable
    interface ICloneabletype SettingsPropertyCollection = class
    interface IEnumerable
    interface ICloneable
    interface ICollectiontype SettingsPropertyCollection = class
    interface ICloneable
    interface ICollection
    interface IEnumerablePublic Class SettingsPropertyCollection
Implements ICloneable, ICollection- 继承
- 
				SettingsPropertyCollection
- 实现
注解
集合 SettingsPropertyCollection 包含 对象的集合 SettingsProperty 。 对象 SettingsProperty 在内部用作表示有关单个配置属性的元数据的类。
构造函数
| SettingsPropertyCollection() | 初始化 SettingsPropertyCollection 类的新实例。 | 
属性
| Count | 获取一个值,指定集合中的 SettingsProperty 对象数。 | 
| IsSynchronized | 获取一个值,该值指示对集合的访问是否同步(线程安全)。 | 
| Item[String] | 获取具有指定名称的集合项。 | 
| SyncRoot | 获取用于同步对集合的访问的对象。 | 
方法
| Add(SettingsProperty) | 将 SettingsProperty 对象添加到集合中。 | 
| Clear() | 从集合中删除所有 SettingsProperty 对象。 | 
| Clone() | 创建现有集合的一个副本。 | 
| CopyTo(Array, Int32) | 将此 SettingsPropertyCollection 对象复制到数组。 | 
| Equals(Object) | 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetEnumerator() | 在将 IEnumerator 对象应用于集合时获取该对象。 | 
| GetHashCode() | 作为默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| OnAdd(SettingsProperty) | 在添加 SettingsPropertyCollection 实例的内容时执行其他自定义处理。 | 
| OnAddComplete(SettingsProperty) | 在添加 SettingsPropertyCollection 实例的内容之后执行其他自定义处理。 | 
| OnClear() | 在清除 SettingsPropertyCollection 实例的内容时执行其他自定义处理。 | 
| OnClearComplete() | 在清除 SettingsPropertyCollection 实例的内容之后执行其他自定义处理。 | 
| OnRemove(SettingsProperty) | 在移除 SettingsPropertyCollection 实例的内容时执行其他自定义处理。 | 
| OnRemoveComplete(SettingsProperty) | 在移除 SettingsPropertyCollection 实例的内容之后执行其他自定义处理。 | 
| Remove(String) | 从集合中移除 SettingsProperty 对象。 | 
| SetReadOnly() | 将集合设置为只读。 | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) | 
扩展方法
| Cast<TResult>(IEnumerable) | 将 IEnumerable 的元素强制转换为指定的类型。 | 
| OfType<TResult>(IEnumerable) | 根据指定类型筛选 IEnumerable 的元素。 | 
| AsParallel(IEnumerable) | 启用查询的并行化。 | 
| AsQueryable(IEnumerable) | 将 IEnumerable 转换为 IQueryable。 |