SettingsPropertyCollection 类

定义

包含 SettingsProperty 对象的集合。

public ref class SettingsPropertyCollection : ICloneable, System::Collections::ICollection
public class SettingsPropertyCollection : ICloneable, System.Collections.ICollection
type SettingsPropertyCollection = class
    interface ICollection
    interface IEnumerable
    interface ICloneable
type SettingsPropertyCollection = class
    interface IEnumerable
    interface ICloneable
    interface ICollection
type SettingsPropertyCollection = class
    interface ICloneable
    interface ICollection
    interface IEnumerable
Public Class SettingsPropertyCollection
Implements ICloneable, ICollection
继承
SettingsPropertyCollection
实现

注解

集合 SettingsPropertyCollection 包含 对象的集合 SettingsPropertySettingsProperty对象在内部用作表示有关单个配置属性的元数据的类。

构造函数

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

适用于

另请参阅