AdapterDictionary 类

定义

由配置系统在运行时在内部使用,以包含用来在不同浏览器上呈现服务器控件的可用适配器的名称。Used internally at run time by the configuration system to contain the names of the available adapters used to render server controls on different browsers.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class AdapterDictionary : System::Collections::Specialized::OrderedDictionary
[System.Serializable]
public class AdapterDictionary : System.Collections.Specialized.OrderedDictionary
[<System.Serializable>]
type AdapterDictionary = class
    inherit OrderedDictionary
Public Class AdapterDictionary
Inherits OrderedDictionary
继承
AdapterDictionary
属性

构造函数

AdapterDictionary()

此 API 支持产品基础结构,不能在代码中直接使用。

由配置系统在运行时在内部使用以创建此类的新实例。Used internally at run time by the configuration system to create a new instance of this class.

属性

Count

获取包含在 OrderedDictionary 集合中的键/值对的数目。Gets the number of key/values pairs contained in the OrderedDictionary collection.

(继承自 OrderedDictionary)
IsReadOnly

获取指示 OrderedDictionary 集合是否为只读的值。Gets a value indicating whether the OrderedDictionary collection is read-only.

(继承自 OrderedDictionary)
Item[Int32]

获取或设置指定索引处的值。Gets or sets the value at the specified index.

(继承自 OrderedDictionary)
Item[Object]

获取或设置具有指定键的值。Gets or sets the value with the specified key.

(继承自 OrderedDictionary)
Item[String]

此 API 支持产品基础结构,不能在代码中直接使用。

由配置系统在运行时在内部使用以获取或设置指定的适配器名称。Used internally at run time by the configuration system to get or set a specified adapter name.

Keys

获取 ICollection 对象,该对象包含 OrderedDictionary 集合中的键。Gets an ICollection object containing the keys in the OrderedDictionary collection.

(继承自 OrderedDictionary)
Values

获取 ICollection 对象,该对象包含 OrderedDictionary 集合中的值。Gets an ICollection object containing the values in the OrderedDictionary collection.

(继承自 OrderedDictionary)

方法

Add(Object, Object)

使用最小的可用索引,将具有指定键和值的项添加到 OrderedDictionary 集合中。Adds an entry with the specified key and value into the OrderedDictionary collection with the lowest available index.

(继承自 OrderedDictionary)
AsReadOnly()

返回当前 OrderedDictionary 集合的只读副本。Returns a read-only copy of the current OrderedDictionary collection.

(继承自 OrderedDictionary)
Clear()

移除 OrderedDictionary 集合中的所有元素。Removes all elements from the OrderedDictionary collection.

(继承自 OrderedDictionary)
Contains(Object)

确定 OrderedDictionary 集合是否包含特定的键。Determines whether the OrderedDictionary collection contains a specific key.

(继承自 OrderedDictionary)
CopyTo(Array, Int32)

OrderedDictionary 元素复制到位于指定索引处的一维 Array 对象中。Copies the OrderedDictionary elements to a one-dimensional Array object at the specified index.

(继承自 OrderedDictionary)
Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetEnumerator()

返回遍历 IDictionaryEnumerator 集合的 OrderedDictionary 对象。Returns an IDictionaryEnumerator object that iterates through the OrderedDictionary collection.

(继承自 OrderedDictionary)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetObjectData(SerializationInfo, StreamingContext)

实现 ISerializable 接口,并返回序列化 OrderedDictionary 集合所需的数据。Implements the ISerializable interface and returns the data needed to serialize the OrderedDictionary collection.

(继承自 OrderedDictionary)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
Insert(Int32, Object, Object)

在指定索引处用指定键和值将新项插入到 OrderedDictionary 集合中。Inserts a new entry into the OrderedDictionary collection with the specified key and value at the specified index.

(继承自 OrderedDictionary)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
OnDeserialization(Object)

实现 ISerializable 接口,并在完成反序列化后由反序列化事件回调。Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete.

(继承自 OrderedDictionary)
Remove(Object)

OrderedDictionary 集合中移除具有指定键的项。Removes the entry with the specified key from the OrderedDictionary collection.

(继承自 OrderedDictionary)
RemoveAt(Int32)

OrderedDictionary 集合中移除指定索引处的项。Removes the entry at the specified index from the OrderedDictionary collection.

(继承自 OrderedDictionary)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

显式接口实现

ICollection.IsSynchronized

获取一个值,该值指示对 OrderedDictionary 对象的访问是否同步(线程安全)。Gets a value indicating whether access to the OrderedDictionary object is synchronized (thread-safe).

(继承自 OrderedDictionary)
ICollection.SyncRoot

获取一个对象,该对象可用于同步对 OrderedDictionary 对象的访问。Gets an object that can be used to synchronize access to the OrderedDictionary object.

(继承自 OrderedDictionary)
IDeserializationCallback.OnDeserialization(Object)

实现 ISerializable 接口,并在完成反序列化后由反序列化事件回调。Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete.

(继承自 OrderedDictionary)
IDictionary.IsFixedSize

获取一个值,该值指示 OrderedDictionary 是否具有固定大小。Gets a value indicating whether the OrderedDictionary has a fixed size.

(继承自 OrderedDictionary)
IEnumerable.GetEnumerator()

返回遍历 IDictionaryEnumerator 集合的 OrderedDictionary 对象。Returns an IDictionaryEnumerator object that iterates through the OrderedDictionary collection.

(继承自 OrderedDictionary)

扩展方法

Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

适用于