1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Collections.Specialized</name>
7 <member name="T:System.Collections.Specialized.BitVector32">
8 <summary>提供一个简单结构,该结构以 32 位内存存储布尔值和小整数。</summary>
10 <member name="M:System.Collections.Specialized.BitVector32.#ctor(System.Collections.Specialized.BitVector32)">
11 <summary>初始化 <see cref="T:System.Collections.Specialized.BitVector32" /> 结构的新实例,其中包含现有 <see cref="T:System.Collections.Specialized.BitVector32" /> 结构中表示的数据。</summary>
12 <param name="value">一个 <see cref="T:System.Collections.Specialized.BitVector32" /> 结构,它包含要复制的数据。</param>
14 <member name="M:System.Collections.Specialized.BitVector32.#ctor(System.Int32)">
15 <summary>初始化 <see cref="T:System.Collections.Specialized.BitVector32" /> 结构的新实例,其中包含整数中表示的数据。</summary>
16 <param name="data">一个整数,它表示新 <see cref="T:System.Collections.Specialized.BitVector32" /> 的数据。</param>
18 <member name="M:System.Collections.Specialized.BitVector32.CreateMask">
19 <summary>创建一系列屏蔽中的第一个屏蔽,该系列屏蔽可用于检索作为位标志设置的 <see cref="T:System.Collections.Specialized.BitVector32" /> 中的单个位。</summary>
20 <returns>一个屏蔽,它隔离 <see cref="T:System.Collections.Specialized.BitVector32" /> 中的第一个位标志。</returns>
22 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
25 <member name="M:System.Collections.Specialized.BitVector32.CreateMask(System.Int32)">
26 <summary>在一系列屏蔽中的指定屏蔽后面再创建一个屏蔽,该系列屏蔽可以用于检索作为位标志设置的 <see cref="T:System.Collections.Specialized.BitVector32" /> 中的单个位。</summary>
27 <returns>一个屏蔽,它隔离在 <see cref="T:System.Collections.Specialized.BitVector32" /> 中 <paramref name="previous" /> 指向的位标志后面的位标志。</returns>
28 <param name="previous">指示前一个位标志的屏蔽。</param>
29 <exception cref="T:System.InvalidOperationException">
30 <paramref name="previous" /> indicates the last bit flag in the <see cref="T:System.Collections.Specialized.BitVector32" />. </exception>
32 <member name="M:System.Collections.Specialized.BitVector32.CreateSection(System.Int16)">
33 <summary>在包含小整数的一系列节中创建第一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" />。</summary>
34 <returns>一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" />,它可以保存从零到 <paramref name="maxValue" /> 的数字。</returns>
35 <param name="maxValue">一个 16 位带符号整数,它为新 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 指定最大值。</param>
36 <exception cref="T:System.ArgumentException">
37 <paramref name="maxValue" /> is less than 1. </exception>
39 <member name="M:System.Collections.Specialized.BitVector32.CreateSection(System.Int16,System.Collections.Specialized.BitVector32.Section)">
40 <summary>在包含小整数的一系列节中创建指定 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 后面的新 <see cref="T:System.Collections.Specialized.BitVector32.Section" />。</summary>
41 <returns>一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" />,它可以保存从零到 <paramref name="maxValue" /> 的数字。</returns>
42 <param name="maxValue">一个 16 位带符号整数,它为新 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 指定最大值。</param>
43 <param name="previous">
44 <see cref="T:System.Collections.Specialized.BitVector32" /> 中的前一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" />。</param>
45 <exception cref="T:System.ArgumentException">
46 <paramref name="maxValue" /> is less than 1. </exception>
47 <exception cref="T:System.InvalidOperationException">
48 <paramref name="previous" /> includes the final bit in the <see cref="T:System.Collections.Specialized.BitVector32" />.-or- <paramref name="maxValue" /> is greater than the highest value that can be represented by the number of bits after <paramref name="previous" />. </exception>
50 <member name="P:System.Collections.Specialized.BitVector32.Data">
51 <summary>获取 <see cref="T:System.Collections.Specialized.BitVector32" /> 的值作为一个整数。</summary>
53 <see cref="T:System.Collections.Specialized.BitVector32" /> 的值作为一个整数。</returns>
55 <member name="M:System.Collections.Specialized.BitVector32.Equals(System.Object)">
56 <summary>确定指定对象与 <see cref="T:System.Collections.Specialized.BitVector32" /> 是否相等。</summary>
57 <returns>如果指定对象与 <see cref="T:System.Collections.Specialized.BitVector32" /> 相等,则为 true;否则为 false。</returns>
58 <param name="o">与当前 <see cref="T:System.Collections.Specialized.BitVector32" /> 进行比较的对象。 </param>
60 <member name="M:System.Collections.Specialized.BitVector32.GetHashCode">
61 <summary>用作 <see cref="T:System.Collections.Specialized.BitVector32" /> 的哈希函数。</summary>
63 <see cref="T:System.Collections.Specialized.BitVector32" /> 的一个哈希代码。</returns>
65 <member name="P:System.Collections.Specialized.BitVector32.Item(System.Collections.Specialized.BitVector32.Section)">
66 <summary>获取或设置指定 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 中存储的值。</summary>
67 <returns>在指定 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 中存储的值。</returns>
68 <param name="section">一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" />,它包含要获取或设置的值。</param>
70 <member name="P:System.Collections.Specialized.BitVector32.Item(System.Int32)">
71 <summary>获取或设置由指定屏蔽指示的位标志的状态。</summary>
72 <returns>如果指定位标志在 (1) 上,则为 true;否则为 false。</returns>
73 <param name="bit">一个屏蔽,它指示要获取或设置的位。 </param>
75 <member name="M:System.Collections.Specialized.BitVector32.ToString">
76 <summary>返回表示当前 <see cref="T:System.Collections.Specialized.BitVector32" /> 的字符串。</summary>
77 <returns>表示当前 <see cref="T:System.Collections.Specialized.BitVector32" /> 的字符串。</returns>
79 <member name="M:System.Collections.Specialized.BitVector32.ToString(System.Collections.Specialized.BitVector32)">
80 <summary>返回一个字符串,它代表指定 <see cref="T:System.Collections.Specialized.BitVector32" />。</summary>
81 <returns>一个字符串,它代表指定 <see cref="T:System.Collections.Specialized.BitVector32" />。</returns>
82 <param name="value">要代表的 <see cref="T:System.Collections.Specialized.BitVector32" />。</param>
84 <member name="T:System.Collections.Specialized.BitVector32.Section">
85 <summary>表示可以包含整数的向量的节。</summary>
87 <member name="M:System.Collections.Specialized.BitVector32.Section.Equals(System.Collections.Specialized.BitVector32.Section)">
88 <summary>确定指定 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象是否与当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象相同。</summary>
89 <returns>如果 <paramref name="obj" /> 参数与当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象相同,则为 true;否则为 false。</returns>
90 <param name="obj">要与当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象进行比较的 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象。</param>
92 <member name="M:System.Collections.Specialized.BitVector32.Section.Equals(System.Object)">
93 <summary>确定指定对象是否与当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象相同。</summary>
94 <returns>如果指定的对象与当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象相同,则为 true;否则为 false。</returns>
95 <param name="o">将与当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 进行比较的对象。</param>
97 <member name="M:System.Collections.Specialized.BitVector32.Section.GetHashCode">
98 <summary>用作当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 的哈希函数,适合用在哈希算法和数据结构(如哈希表)中。</summary>
99 <returns>当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 的哈希代码。</returns>
101 <member name="P:System.Collections.Specialized.BitVector32.Section.Mask">
102 <summary>获取在 <see cref="T:System.Collections.Specialized.BitVector32" /> 中隔离此节的掩码。</summary>
103 <returns>在 <see cref="T:System.Collections.Specialized.BitVector32" /> 中隔离此节的掩码。</returns>
105 <member name="P:System.Collections.Specialized.BitVector32.Section.Offset">
106 <summary>获取从 <see cref="T:System.Collections.Specialized.BitVector32" /> 的起始处开始的此节的偏移量。</summary>
107 <returns>从 <see cref="T:System.Collections.Specialized.BitVector32" /> 的起始处开始的此节的偏移量。</returns>
109 <member name="M:System.Collections.Specialized.BitVector32.Section.op_Equality(System.Collections.Specialized.BitVector32.Section,System.Collections.Specialized.BitVector32.Section)">
110 <summary>确定指定的两个 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象是否相等。</summary>
111 <returns>如果 <paramref name="a" /> 和 <paramref name="b" /> 参数表示同一 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象,则为 true;否则为 false。</returns>
112 <param name="a">一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象。</param>
113 <param name="b">一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象。</param>
115 <member name="M:System.Collections.Specialized.BitVector32.Section.op_Inequality(System.Collections.Specialized.BitVector32.Section,System.Collections.Specialized.BitVector32.Section)">
116 <summary>确定两个 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象是否具有不同的值。</summary>
117 <returns>如果 <paramref name="a" /> 和 <paramref name="b" /> 参数表示不同的 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象,则为 true;否则为 false。</returns>
118 <param name="a">一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象。</param>
119 <param name="b">一个 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 对象。</param>
121 <member name="M:System.Collections.Specialized.BitVector32.Section.ToString">
122 <summary>返回表示当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 的字符串。</summary>
123 <returns>表示当前 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 的字符串。</returns>
125 <member name="M:System.Collections.Specialized.BitVector32.Section.ToString(System.Collections.Specialized.BitVector32.Section)">
126 <summary>返回表示指定 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 的字符串。</summary>
127 <returns>表示指定 <see cref="T:System.Collections.Specialized.BitVector32.Section" /> 的字符串。</returns>
128 <param name="value">要表示的 <see cref="T:System.Collections.Specialized.BitVector32.Section" />。</param>
130 <member name="T:System.Collections.Specialized.HybridDictionary">
131 <summary>通过以下方法来实现 IDictionary:在集合较小时使用 <see cref="T:System.Collections.Specialized.ListDictionary" />,然后在集合变大时切换到 <see cref="T:System.Collections.Hashtable" />。</summary>
133 <member name="M:System.Collections.Specialized.HybridDictionary.#ctor">
134 <summary>创建区分大小写的空白 <see cref="T:System.Collections.Specialized.HybridDictionary" />。</summary>
136 <member name="M:System.Collections.Specialized.HybridDictionary.#ctor(System.Boolean)">
137 <summary>创建使用指定的大小写规则的空白 <see cref="T:System.Collections.Specialized.HybridDictionary" />。</summary>
138 <param name="caseInsensitive">一个布尔值,它表示 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 是否不区分大小写。</param>
140 <member name="M:System.Collections.Specialized.HybridDictionary.#ctor(System.Int32)">
141 <summary>创建具有指定的初始大小且区分大小写的 <see cref="T:System.Collections.Specialized.HybridDictionary" />。</summary>
142 <param name="initialSize">
143 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 最初可包含的大概项数。</param>
145 <member name="M:System.Collections.Specialized.HybridDictionary.#ctor(System.Int32,System.Boolean)">
146 <summary>创建具有指定的初始大小和大小写规则的 <see cref="T:System.Collections.Specialized.HybridDictionary" />。</summary>
147 <param name="initialSize">
148 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 最初可包含的大概项数。</param>
149 <param name="caseInsensitive">一个布尔值,它表示 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 是否不区分大小写。</param>
151 <member name="M:System.Collections.Specialized.HybridDictionary.Add(System.Object,System.Object)">
152 <summary>将带有指定键和值的项添加到 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中。</summary>
153 <param name="key">要添加的条目的键。</param>
154 <param name="value">要添加的条目的值。该值可以为 null。</param>
155 <exception cref="T:System.ArgumentNullException">
156 <paramref name="key" /> 为 null。</exception>
157 <exception cref="T:System.ArgumentException">带有相同键的项已经存在于 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中。</exception>
159 <member name="M:System.Collections.Specialized.HybridDictionary.Clear">
160 <summary>从 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中移除所有项。</summary>
162 <member name="M:System.Collections.Specialized.HybridDictionary.Contains(System.Object)">
163 <summary>确定 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 是否包含特定键。</summary>
164 <returns>true if the <see cref="T:System.Collections.Specialized.HybridDictionary" /> contains an entry with the specified key; otherwise, false.</returns>
165 <param name="key">要在 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中定位的键。 </param>
166 <exception cref="T:System.ArgumentNullException">
167 <paramref name="key" /> 为 null。</exception>
169 <member name="M:System.Collections.Specialized.HybridDictionary.CopyTo(System.Array,System.Int32)">
170 <summary>将 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 项复制到位于指定索引处的一维 <see cref="T:System.Array" /> 实例中。</summary>
171 <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the <see cref="T:System.Collections.DictionaryEntry" /> objects copied from <see cref="T:System.Collections.Specialized.HybridDictionary" />.<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
173 <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。 </param>
174 <exception cref="T:System.ArgumentNullException">
175 <paramref name="array" /> 为 null。 </exception>
176 <exception cref="T:System.ArgumentOutOfRangeException">
177 <paramref name="index" /> 小于零。 </exception>
178 <exception cref="T:System.ArgumentException">
179 <paramref name="array" /> 是多维的。- 或 -源 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中的元素数目大于从 <paramref name="arrayIndex" /> 到目标 <paramref name="array" /> 末尾之间的可用空间。</exception>
180 <exception cref="T:System.InvalidCastException">源 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 的类型无法自动转换为目标 <paramref name="array" /> 的类型。</exception>
182 <member name="P:System.Collections.Specialized.HybridDictionary.Count">
183 <summary>获取包含在 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中的键/值对的数目。</summary>
184 <returns>包含在 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中的键/值对的数目。检索此属性的值的运算复杂度为 O(1)。</returns>
186 <member name="M:System.Collections.Specialized.HybridDictionary.GetEnumerator">
187 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> that iterates through the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
188 <returns>用于 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 的 <see cref="T:System.Collections.IDictionaryEnumerator" />。</returns>
190 <member name="P:System.Collections.Specialized.HybridDictionary.IsFixedSize">
191 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 是否具有固定大小。</summary>
192 <returns>该属性始终返回 false。</returns>
194 <member name="P:System.Collections.Specialized.HybridDictionary.IsReadOnly">
195 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 是否为只读。</summary>
196 <returns>该属性始终返回 false。</returns>
198 <member name="P:System.Collections.Specialized.HybridDictionary.IsSynchronized">
199 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 是否是同步的(线程安全)。</summary>
200 <returns>该属性始终返回 false。</returns>
202 <member name="P:System.Collections.Specialized.HybridDictionary.Item(System.Object)">
203 <summary>获取或设置与指定的键关联的值。</summary>
204 <returns>与指定的键相关联的值。如果未找到指定的键,尝试获取它将返回 null,尝试设置它将使用指定的键创建新项。</returns>
205 <param name="key">要获取或设置其值的键。</param>
206 <exception cref="T:System.ArgumentNullException">
207 <paramref name="key" /> 为 null。</exception>
209 <member name="P:System.Collections.Specialized.HybridDictionary.Keys">
210 <summary>Gets an <see cref="T:System.Collections.ICollection" /> containing the keys in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
211 <returns>An <see cref="T:System.Collections.ICollection" /> containing the keys in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</returns>
213 <member name="M:System.Collections.Specialized.HybridDictionary.Remove(System.Object)">
214 <summary>从 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中移除带有指定键的项。</summary>
215 <param name="key">要移除的条目的键。 </param>
216 <exception cref="T:System.ArgumentNullException">
217 <paramref name="key" /> 为 null。</exception>
219 <member name="P:System.Collections.Specialized.HybridDictionary.SyncRoot">
220 <summary>获取可用于同步对 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 的访问的对象。</summary>
221 <returns>可用于同步对 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 的访问的对象。</returns>
223 <member name="M:System.Collections.Specialized.HybridDictionary.System#Collections#IEnumerable#GetEnumerator">
224 <summary>返回循环访问 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 的 <see cref="T:System.Collections.IEnumerator" />。</summary>
225 <returns>用于 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 的 <see cref="T:System.Collections.IEnumerator" />。</returns>
227 <member name="P:System.Collections.Specialized.HybridDictionary.Values">
228 <summary>获取包含 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中的值的 <see cref="T:System.Collections.ICollection" />。</summary>
229 <returns>一个 <see cref="T:System.Collections.ICollection" />,它包含 <see cref="T:System.Collections.Specialized.HybridDictionary" /> 中的值。</returns>
231 <member name="T:System.Collections.Specialized.IOrderedDictionary">
232 <summary>表示键/值对的索引集合。</summary>
234 <member name="M:System.Collections.Specialized.IOrderedDictionary.GetEnumerator">
235 <summary>返回一个循环访问 <see cref="T:System.Collections.Specialized.IOrderedDictionary" /> 集合的枚举数。</summary>
236 <returns>用于整个 <see cref="T:System.Collections.Specialized.IOrderedDictionary" /> 集合的 <see cref="T:System.Collections.IDictionaryEnumerator" />。</returns>
238 <member name="M:System.Collections.Specialized.IOrderedDictionary.Insert(System.Int32,System.Object,System.Object)">
239 <summary>将键/值对插入到指定索引处的集合中。</summary>
240 <param name="index">键/值对应在从零开始的索引处插入。</param>
241 <param name="key">用作要添加的元素的键的对象。</param>
242 <param name="value">用作要添加的元素的值的对象。该值可以为 null。</param>
243 <exception cref="T:System.ArgumentOutOfRangeException">
244 <paramref name="index" /> 小于 0。- 或 -<paramref name="index" /> 大于 <see cref="P:System.Collections.ICollection.Count" />。</exception>
245 <exception cref="T:System.ArgumentNullException">
246 <paramref name="key" /> 为 null。</exception>
247 <exception cref="T:System.ArgumentException">
248 <see cref="T:System.Collections.Specialized.IOrderedDictionary" /> 集合中已存在具有相同键的元素。</exception>
249 <exception cref="T:System.NotSupportedException">
250 <see cref="T:System.Collections.Specialized.IOrderedDictionary" /> 集合为只读。- 或 -<see cref="T:System.Collections.Specialized.IOrderedDictionary" /> 集合的大小是固定的。</exception>
252 <member name="P:System.Collections.Specialized.IOrderedDictionary.Item(System.Int32)">
253 <summary>获取或设置指定索引处的元素。</summary>
254 <returns>指定索引处的元素。</returns>
255 <param name="index">要获取或设置的元素的从零开始的索引。</param>
256 <exception cref="T:System.ArgumentOutOfRangeException">
257 <paramref name="index" /> 小于 0。- 或 - <paramref name="index" /> 等于或大于 <see cref="P:System.Collections.ICollection.Count" />。 </exception>
259 <member name="M:System.Collections.Specialized.IOrderedDictionary.RemoveAt(System.Int32)">
260 <summary>移除指定索引处的元素。</summary>
261 <param name="index">要移除的元素的从零开始的索引。</param>
262 <exception cref="T:System.ArgumentOutOfRangeException">
263 <paramref name="index" /> 小于 0。- 或 - <paramref name="index" /> 等于或大于 <see cref="P:System.Collections.ICollection.Count" />。</exception>
264 <exception cref="T:System.NotSupportedException">
265 <see cref="T:System.Collections.Specialized.IOrderedDictionary" /> 集合为只读。- 或 -<see cref="T:System.Collections.Specialized.IOrderedDictionary" /> 集合的大小是固定的。</exception>
267 <member name="T:System.Collections.Specialized.ListDictionary">
268 <summary>使用单向链接列表实现 IDictionary。对于通常包含少于 10 项的集合,建议使用该实现方法。</summary>
270 <member name="M:System.Collections.Specialized.ListDictionary.#ctor">
271 <summary>使用默认比较器创建空白 <see cref="T:System.Collections.Specialized.ListDictionary" />。</summary>
273 <member name="M:System.Collections.Specialized.ListDictionary.#ctor(System.Collections.IComparer)">
274 <summary>使用指定比较器创建空白 <see cref="T:System.Collections.Specialized.ListDictionary" />。</summary>
275 <param name="comparer">
276 <see cref="T:System.Collections.IComparer" />,用于确定两个键是否相等。- 或 - null 使用默认比较器,该比较器是每一个键的 <see cref="M:System.Object.Equals(System.Object)" /> 实现。</param>
278 <member name="M:System.Collections.Specialized.ListDictionary.Add(System.Object,System.Object)">
279 <summary>将带有指定键和值的项添加到 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中。</summary>
280 <param name="key">要添加的条目的键。</param>
281 <param name="value">要添加的条目的值。该值可以为 null。</param>
282 <exception cref="T:System.ArgumentNullException">
283 <paramref name="key" /> 为 null。</exception>
284 <exception cref="T:System.ArgumentException">带有相同键的项已经存在于 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中。</exception>
286 <member name="M:System.Collections.Specialized.ListDictionary.Clear">
287 <summary>从 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中移除所有项。</summary>
289 <member name="M:System.Collections.Specialized.ListDictionary.Contains(System.Object)">
290 <summary>确定 <see cref="T:System.Collections.Specialized.ListDictionary" /> 是否包含特定键。</summary>
291 <returns>true if the <see cref="T:System.Collections.Specialized.ListDictionary" /> contains an entry with the specified key; otherwise, false.</returns>
292 <param name="key">要在 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中定位的键。 </param>
293 <exception cref="T:System.ArgumentNullException">
294 <paramref name="key" /> 为 null。</exception>
296 <member name="M:System.Collections.Specialized.ListDictionary.CopyTo(System.Array,System.Int32)">
297 <summary>将 <see cref="T:System.Collections.Specialized.ListDictionary" /> 项复制到位于指定索引处的一维 <see cref="T:System.Array" /> 实例中。</summary>
298 <param name="array">一维 <see cref="T:System.Array" />,它是从 <see cref="T:System.Collections.Specialized.ListDictionary" /> 复制的 <see cref="T:System.Collections.DictionaryEntry" /> 对象的目标位置。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
300 <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。 </param>
301 <exception cref="T:System.ArgumentNullException">
302 <paramref name="array" /> 为 null。 </exception>
303 <exception cref="T:System.ArgumentOutOfRangeException">
304 <paramref name="index" /> 小于零。 </exception>
305 <exception cref="T:System.ArgumentException">
306 <paramref name="array" /> 是多维的。- 或 -源 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中的元素数目大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 末尾之间的可用空间。</exception>
307 <exception cref="T:System.InvalidCastException">源 <see cref="T:System.Collections.Specialized.ListDictionary" /> 的类型无法自动转换为目标 <paramref name="array" /> 的类型。</exception>
309 <member name="P:System.Collections.Specialized.ListDictionary.Count">
310 <summary>获取包含在 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中的键/值对的数目。</summary>
311 <returns>包含在 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中的键/值对的数目。</returns>
313 <member name="M:System.Collections.Specialized.ListDictionary.GetEnumerator">
314 <summary>返回循环访问 <see cref="T:System.Collections.Specialized.ListDictionary" /> 的 <see cref="T:System.Collections.IDictionaryEnumerator" />。</summary>
315 <returns>用于 <see cref="T:System.Collections.Specialized.ListDictionary" /> 的 <see cref="T:System.Collections.IDictionaryEnumerator" />。</returns>
317 <member name="P:System.Collections.Specialized.ListDictionary.IsFixedSize">
318 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.ListDictionary" /> 是否具有固定大小。</summary>
319 <returns>该属性始终返回 false。</returns>
321 <member name="P:System.Collections.Specialized.ListDictionary.IsReadOnly">
322 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.ListDictionary" /> 是否为只读。</summary>
323 <returns>该属性始终返回 false。</returns>
325 <member name="P:System.Collections.Specialized.ListDictionary.IsSynchronized">
326 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.ListDictionary" /> 是否是同步的(线程安全)。</summary>
327 <returns>该属性始终返回 false。</returns>
329 <member name="P:System.Collections.Specialized.ListDictionary.Item(System.Object)">
330 <summary>获取或设置与指定的键关联的值。</summary>
331 <returns>与指定的键相关联的值。如果未找到指定的键,尝试获取它将返回 null,尝试设置它将使用指定的键创建新项。</returns>
332 <param name="key">要获取或设置其值的键。</param>
333 <exception cref="T:System.ArgumentNullException">
334 <paramref name="key" /> 为 null。</exception>
336 <member name="P:System.Collections.Specialized.ListDictionary.Keys">
337 <summary>获取包含 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中的键的 <see cref="T:System.Collections.ICollection" />。</summary>
338 <returns>包含 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中的键的 <see cref="T:System.Collections.ICollection" />。</returns>
340 <member name="M:System.Collections.Specialized.ListDictionary.Remove(System.Object)">
341 <summary>从 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中移除带有指定键的项。</summary>
342 <param name="key">要移除的条目的键。 </param>
343 <exception cref="T:System.ArgumentNullException">
344 <paramref name="key" /> 为 null。</exception>
346 <member name="P:System.Collections.Specialized.ListDictionary.SyncRoot">
347 <summary>获取可用于同步对 <see cref="T:System.Collections.Specialized.ListDictionary" /> 的访问的对象。</summary>
348 <returns>可用于同步对 <see cref="T:System.Collections.Specialized.ListDictionary" /> 的访问的对象。</returns>
350 <member name="M:System.Collections.Specialized.ListDictionary.System#Collections#IEnumerable#GetEnumerator">
351 <summary>返回循环访问 <see cref="T:System.Collections.Specialized.ListDictionary" /> 的 <see cref="T:System.Collections.IEnumerator" />。</summary>
352 <returns>用于 <see cref="T:System.Collections.Specialized.ListDictionary" /> 的 <see cref="T:System.Collections.IEnumerator" />。</returns>
354 <member name="P:System.Collections.Specialized.ListDictionary.Values">
355 <summary>获取包含 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中的值的 <see cref="T:System.Collections.ICollection" />。</summary>
356 <returns>一个 <see cref="T:System.Collections.ICollection" />,它包含 <see cref="T:System.Collections.Specialized.ListDictionary" /> 中的值。</returns>
358 <member name="T:System.Collections.Specialized.NameObjectCollectionBase">
359 <summary>为关联的 <see cref="T:System.String" /> 键和 <see cref="T:System.Object" /> 值的集合(可通过键或索引来访问它)提供 abstract 基类。</summary>
361 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.#ctor">
362 <summary>初始化为空的 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 类的新实例。</summary>
364 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.#ctor(System.Collections.IEqualityComparer)">
365 <summary>初始化 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 类的新实例,该实例为空、具有默认的初始容量并使用指定的 <see cref="T:System.Collections.IEqualityComparer" /> 对象。</summary>
366 <param name="equalityComparer">
367 <see cref="T:System.Collections.IEqualityComparer" /> 对象,用于确定两个键是否相等,并为集合中的键生成哈希代码。</param>
369 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.#ctor(System.Int32)">
370 <summary>初始化 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 类的新实例,该实例为空、具有指定的初始容量,并使用默认哈希代码提供程序和默认比较器。</summary>
371 <param name="capacity">
372 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例最初可以包含的项的大概数目。</param>
373 <exception cref="T:System.ArgumentOutOfRangeException">
374 <paramref name="capacity" /> 小于零。</exception>
376 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.#ctor(System.Int32,System.Collections.IEqualityComparer)">
377 <summary>初始化 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 类的新实例,该实例为空、具有指定的初始容量并使用指定的 <see cref="T:System.Collections.IEqualityComparer" /> 对象。</summary>
378 <param name="capacity">
379 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 对象最初可包含的大概项数。</param>
380 <param name="equalityComparer">
381 <see cref="T:System.Collections.IEqualityComparer" /> 对象,用于确定两个键是否相等,并为集合中的键生成哈希代码。</param>
382 <exception cref="T:System.ArgumentOutOfRangeException">
383 <paramref name="capacity" /> 小于零。</exception>
385 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseAdd(System.String,System.Object)">
386 <summary>将具有指定键和值的项添加到 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中。</summary>
387 <param name="name">要添加的项的 <see cref="T:System.String" /> 键。键可以是 null。</param>
388 <param name="value">要添加的项的 <see cref="T:System.Object" /> 值。该值可以为 null。</param>
389 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
391 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseClear">
392 <summary>移除 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有项。</summary>
393 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
395 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseGet(System.Int32)">
396 <summary>获取 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例的指定索引处的项值。</summary>
398 <see cref="T:System.Object" />,它表示指定索引处的项值。</returns>
399 <param name="index">要获取的值的从零开始索引。</param>
400 <exception cref="T:System.ArgumentOutOfRangeException">
401 <paramref name="index" /> 在集合的有效索引范围外。</exception>
403 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseGet(System.String)">
404 <summary>获取 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中第一个具有指定键的项值。</summary>
405 <returns>如果找到了表示第一个具有指定键的项值的 <see cref="T:System.Object" />,则为该对象;否则为 null。</returns>
406 <param name="name">要获取的项的 <see cref="T:System.String" /> 键。键可以是 null。</param>
408 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseGetAllKeys">
409 <summary>返回 <see cref="T:System.String" /> 数组,该数组包含 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有键。</summary>
411 <see cref="T:System.String" /> 数组,该数组包含 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有键。</returns>
413 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseGetAllValues">
414 <summary>返回 <see cref="T:System.Object" /> 数组,该数组包含 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有值。</summary>
416 <see cref="T:System.Object" /> 数组,它包含 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有值。</returns>
418 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseGetAllValues(System.Type)">
419 <summary>返回指定类型的数组,该数组包含 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有值。</summary>
420 <returns>指定类型的数组,该数组包含 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有值。</returns>
421 <param name="type">表示要返回的数组类型的 <see cref="T:System.Type" />。</param>
422 <exception cref="T:System.ArgumentNullException">
423 <paramref name="type" /> 为 null。</exception>
424 <exception cref="T:System.ArgumentException">
425 <paramref name="type" /> 不是有效的 <see cref="T:System.Type" />。</exception>
427 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseGetKey(System.Int32)">
428 <summary>获取 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例的指定索引处的项键。</summary>
429 <returns>表示指定索引处的项键的 <see cref="T:System.String" />。</returns>
430 <param name="index">要获取的键的从零开始的索引。</param>
431 <exception cref="T:System.ArgumentOutOfRangeException">
432 <paramref name="index" /> 在集合的有效索引范围外。</exception>
434 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseHasKeys">
435 <summary>获取一个值,通过该值指示 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例是否包含键不为 null 的项。</summary>
436 <returns>如果 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例包含键不为 null 的项,则为 true;否则为 false。</returns>
438 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseRemove(System.String)">
439 <summary>移除 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中具有指定键的项。</summary>
440 <param name="name">要移除的项的 <see cref="T:System.String" /> 键。键可以是 null。</param>
441 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
443 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseRemoveAt(System.Int32)">
444 <summary>移除 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例的指定索引处的项。</summary>
445 <param name="index">要移除的项的从零开始的索引。</param>
446 <exception cref="T:System.ArgumentOutOfRangeException">
447 <paramref name="index" /> 在集合的有效索引范围外。</exception>
448 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
450 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseSet(System.Int32,System.Object)">
451 <summary>设置 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例的指定索引处的项值。</summary>
452 <param name="index">要设置的项的从零开始的索引。</param>
453 <param name="value">表示要设置的项的新值的 <see cref="T:System.Object" />。该值可以为 null。</param>
454 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
455 <exception cref="T:System.ArgumentOutOfRangeException">
456 <paramref name="index" /> 在集合的有效索引范围外。</exception>
458 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.BaseSet(System.String,System.Object)">
459 <summary>为 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中第一个具有指定键的项设置值(如果有这样的项);否则将具有指定键和值的项添加到 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中。</summary>
460 <param name="name">要设置的项的 <see cref="T:System.String" /> 键。键可以是 null。</param>
461 <param name="value">表示要设置的项的新值的 <see cref="T:System.Object" />。该值可以为 null。</param>
462 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
464 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.Count">
465 <summary>获取包含在 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的键/值对的数目。</summary>
466 <returns>包含在 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的键/值对的数目。</returns>
468 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.GetEnumerator">
469 <summary>返回循环访问 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 的枚举数。</summary>
470 <returns>用于 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例的 <see cref="T:System.Collections.IEnumerator" />。</returns>
472 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.IsReadOnly">
473 <summary>获取或设置一个值,通过该值指示 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例是否为只读的。</summary>
474 <returns>如果 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例为只读,则为 true;否则为 false。</returns>
476 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.Keys">
477 <summary>获取 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 实例,该实例包含 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有键。</summary>
479 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 实例,该实例包含 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中的所有键。</returns>
481 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
482 <summary>从目标数组的指定索引处开始将整个 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 复制到兼容的一维 <see cref="T:System.Array" />。</summary>
483 <param name="array">一维 <see cref="T:System.Array" />,它是从 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 复制的元素的目标。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
485 <paramref name="array" /> 中从零开始的索引,从此处开始复制。</param>
486 <exception cref="T:System.ArgumentNullException">
487 <paramref name="array" /> 为 null。</exception>
488 <exception cref="T:System.ArgumentOutOfRangeException">
489 <paramref name="index" /> 小于零。</exception>
490 <exception cref="T:System.ArgumentException">
491 <paramref name="array" /> 是多维的。- 或 -源 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 中的元素数目大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 末尾之间的可用空间。</exception>
492 <exception cref="T:System.InvalidCastException">源 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 的类型无法自动转换为目标 <paramref name="array" /> 的类型。</exception>
494 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.System#Collections#ICollection#IsSynchronized">
495 <summary>获取一个值,该值指示对 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 对象的访问是否同步(线程安全)。</summary>
496 <returns>如果对 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 对象的访问是同步的(线程安全),则为 true;否则为 false。默认值为 false。</returns>
498 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.System#Collections#ICollection#SyncRoot">
499 <summary>获取一个对象,该对象可用于同步对 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 对象的访问。</summary>
500 <returns>一个对象,该对象可用于同步对 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 对象的访问。</returns>
502 <member name="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection">
503 <summary>表示集合的 <see cref="T:System.String" /> 键的集合。</summary>
505 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection.Count">
506 <summary>获取 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 中的键数。</summary>
508 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 中键的数目。</returns>
510 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection.Get(System.Int32)">
511 <summary>获取集合的指定索引处的键。</summary>
512 <returns>一个 <see cref="T:System.String" />,它包含集合的指定索引处的键。</returns>
513 <param name="index">要从集合中获取的从零开始的键索引。</param>
514 <exception cref="T:System.ArgumentOutOfRangeException">
515 <paramref name="index" /> 在集合的有效索引范围外。</exception>
517 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection.GetEnumerator">
518 <summary>返回循环访问 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 的枚举数。</summary>
519 <returns>用于 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 的 <see cref="T:System.Collections.IEnumerator" />。</returns>
521 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection.Item(System.Int32)">
522 <summary>获取集合中指定索引处的项。</summary>
523 <returns>集合中指定索引处的项的 <see cref="T:System.String" /> 键。</returns>
524 <param name="index">要在集合中定位的项的从零开始的索引。</param>
525 <exception cref="T:System.ArgumentOutOfRangeException">
526 <paramref name="index" /> 在集合的有效索引范围外。</exception>
528 <member name="M:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
529 <summary>从目标数组的指定索引处开始将整个 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 复制到兼容的一维 <see cref="T:System.Array" />。</summary>
530 <param name="array">作为从 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 复制的元素的目标的一维 <see cref="T:System.Array" />。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
532 <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
533 <exception cref="T:System.ArgumentNullException">
534 <paramref name="array" /> 为 null。</exception>
535 <exception cref="T:System.ArgumentOutOfRangeException">
536 <paramref name="index" /> 小于零。</exception>
537 <exception cref="T:System.ArgumentException">
538 <paramref name="array" /> 是多维的。- 或 -源 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 中的元素数目大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 末尾之间的可用空间。</exception>
539 <exception cref="T:System.InvalidCastException">源 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 的类型无法自动转换为目标 <paramref name="array" /> 的类型。</exception>
541 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection.System#Collections#ICollection#IsSynchronized">
542 <summary>获取一个值,该值指示是否同步对 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 的访问(线程安全)。</summary>
543 <returns>如果对 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 的访问是同步的(线程安全),则为 true;否则为 false。默认值为 false。</returns>
545 <member name="P:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection.System#Collections#ICollection#SyncRoot">
546 <summary>获取可用于同步对 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 的访问的对象。</summary>
547 <returns>可用于同步对 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> 的访问的对象。</returns>
549 <member name="T:System.Collections.Specialized.NameValueCollection">
550 <summary>表示可通过键或索引访问的关联 <see cref="T:System.String" /> 键和 <see cref="T:System.String" /> 值的集合。</summary>
552 <member name="M:System.Collections.Specialized.NameValueCollection.#ctor">
553 <summary>初始化 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 类的新实例,该实例为空且具有默认初始容量,并使用不区分大小写的默认哈希代码提供程序和不区分大小写的默认比较器。</summary>
555 <member name="M:System.Collections.Specialized.NameValueCollection.#ctor(System.Collections.IEqualityComparer)">
556 <summary>初始化 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 类的新实例,该实例为空、具有默认的初始容量并使用指定的 <see cref="T:System.Collections.IEqualityComparer" /> 对象。</summary>
557 <param name="equalityComparer">
558 <see cref="T:System.Collections.IEqualityComparer" /> 对象,用于确定两个键是否相等,并为集合中的键生成哈希代码。</param>
560 <member name="M:System.Collections.Specialized.NameValueCollection.#ctor(System.Collections.Specialized.NameValueCollection)">
561 <summary>将项从指定的 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 复制到一个新的 <see cref="T:System.Collections.Specialized.NameValueCollection" />,这个新集合的初始容量与复制的项数相等,并使用与源集合相同的哈希代码提供程序和比较器。</summary>
562 <param name="col">要复制到新 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 实例的 <see cref="T:System.Collections.Specialized.NameValueCollection" />。</param>
563 <exception cref="T:System.ArgumentNullException">
564 <paramref name="col" /> 为 null。</exception>
566 <member name="M:System.Collections.Specialized.NameValueCollection.#ctor(System.Int32)">
567 <summary>初始化 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 类的新实例,该实例为空且具有指定的初始容量,并使用不区分大小写的默认哈希代码提供程序和不区分大小写的默认比较器。</summary>
568 <param name="capacity">
569 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 可包含的初始项数。</param>
570 <exception cref="T:System.ArgumentOutOfRangeException">
571 <paramref name="capacity" /> 小于零。</exception>
573 <member name="M:System.Collections.Specialized.NameValueCollection.#ctor(System.Int32,System.Collections.IEqualityComparer)">
574 <summary>初始化 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 类的新实例,该实例为空、具有指定的初始容量并使用指定的 <see cref="T:System.Collections.IEqualityComparer" /> 对象。</summary>
575 <param name="capacity">
576 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 对象可包含的初始项数。</param>
577 <param name="equalityComparer">
578 <see cref="T:System.Collections.IEqualityComparer" /> 对象,用于确定两个键是否相等,并为集合中的键生成哈希代码。</param>
579 <exception cref="T:System.ArgumentOutOfRangeException">
580 <paramref name="capacity" /> 小于零。</exception>
582 <member name="M:System.Collections.Specialized.NameValueCollection.#ctor(System.Int32,System.Collections.Specialized.NameValueCollection)">
583 <summary>将项从指定的 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 复制到一个新的 <see cref="T:System.Collections.Specialized.NameValueCollection" />,这个新集合使用指定的初始容量或与具有与复制的项数相等的初始容量(两者中较大的一个),并使用不区分大小写的默认哈希代码提供程序和不区分大小写的默认比较器。</summary>
584 <param name="capacity">
585 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 可包含的初始项数。</param>
586 <param name="col">要复制到新 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 实例的 <see cref="T:System.Collections.Specialized.NameValueCollection" />。</param>
587 <exception cref="T:System.ArgumentOutOfRangeException">
588 <paramref name="capacity" /> 小于零。</exception>
589 <exception cref="T:System.ArgumentNullException">
590 <paramref name="col" /> 为 null。</exception>
592 <member name="M:System.Collections.Specialized.NameValueCollection.Add(System.Collections.Specialized.NameValueCollection)">
593 <summary>将指定 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的项复制到当前 <see cref="T:System.Collections.Specialized.NameValueCollection" />。</summary>
594 <param name="c">要复制到当前 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的 <see cref="T:System.Collections.Specialized.NameValueCollection" />。</param>
595 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
596 <exception cref="T:System.ArgumentNullException">
597 <paramref name="c" /> 为 null。</exception>
599 <member name="M:System.Collections.Specialized.NameValueCollection.Add(System.String,System.String)">
600 <summary>将具有指定名称和值的项添加到 <see cref="T:System.Collections.Specialized.NameValueCollection" />。</summary>
601 <param name="name">要添加的项的 <see cref="T:System.String" /> 键。键可以是 null。</param>
602 <param name="value">要添加的项的 <see cref="T:System.String" /> 值。该值可以为 null。</param>
603 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
605 <member name="P:System.Collections.Specialized.NameValueCollection.AllKeys">
606 <summary>获取 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的所有键。</summary>
607 <returns>一个 <see cref="T:System.String" /> 数组,包含 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的所有键。</returns>
609 <member name="M:System.Collections.Specialized.NameValueCollection.Clear">
610 <summary>使缓存数组无效,并将所有项从 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中移除。</summary>
611 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
613 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
616 <member name="M:System.Collections.Specialized.NameValueCollection.CopyTo(System.Array,System.Int32)">
617 <summary>从目标数组的指定索引处开始将整个 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 复制到兼容的一维 <see cref="T:System.Array" />。</summary>
618 <param name="dest">一维 <see cref="T:System.Array" />,它是从 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 复制的元素的目标。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
620 <paramref name="dest" /> 中从零开始的索引,从此处开始复制。</param>
621 <exception cref="T:System.ArgumentNullException">
622 <paramref name="dest" /> 为 null。</exception>
623 <exception cref="T:System.ArgumentOutOfRangeException">
624 <paramref name="index" /> 小于零。</exception>
625 <exception cref="T:System.ArgumentException">
626 <paramref name="dest" /> 是多维的。- 或 - 源 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的元素数目大于从 <paramref name="index" /> 到目标 <paramref name="dest" /> 末尾之间的可用空间。</exception>
627 <exception cref="T:System.InvalidCastException">源 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 的类型无法自动转换为目标 <paramref name="dest" /> 的类型。</exception>
629 <member name="M:System.Collections.Specialized.NameValueCollection.Get(System.Int32)">
630 <summary>获取 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中指定索引处的值,这些值已合并为一个以逗号分隔的列表。</summary>
631 <returns>如果找到,则为一个 <see cref="T:System.String" />,包含 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中指定索引处的值的列表(此列表以逗号分隔);否则为 null。</returns>
632 <param name="index">项的从零开始的索引,该项包含要从集合中获取的值。</param>
633 <exception cref="T:System.ArgumentOutOfRangeException">
634 <paramref name="index" /> 在集合的有效索引范围外。</exception>
636 <member name="M:System.Collections.Specialized.NameValueCollection.Get(System.String)">
637 <summary>获取与 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的指定键关联的值,这些值已合并为一个以逗号分隔的列表。</summary>
638 <returns>如果找到,则为一个 <see cref="T:System.String" />,包含与 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的指定键关联的值的列表(此列表以逗号分隔);否则为 null。</returns>
639 <param name="name">项的 <see cref="T:System.String" /> 键,该项包含要获取的值。键可以是 null。</param>
641 <member name="M:System.Collections.Specialized.NameValueCollection.GetKey(System.Int32)">
642 <summary>获取 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 的指定索引处的键。</summary>
643 <returns>如果找到,则为一个 <see cref="T:System.String" />,包含 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中指定索引处的键;否则为 null。</returns>
644 <param name="index">要从集合中获取的从零开始的键索引。</param>
645 <exception cref="T:System.ArgumentOutOfRangeException">
646 <paramref name="index" /> 在集合的有效索引范围外。</exception>
648 <member name="M:System.Collections.Specialized.NameValueCollection.GetValues(System.Int32)">
649 <summary>获取 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中指定索引处的值。</summary>
650 <returns>如果找到,则为一个 <see cref="T:System.String" /> 数组,包含 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中指定索引处的值;否则为 null。</returns>
651 <param name="index">项的从零开始的索引,该项包含要从集合中获取的值。</param>
652 <exception cref="T:System.ArgumentOutOfRangeException">
653 <paramref name="index" /> 在集合的有效索引范围外。</exception>
655 <member name="M:System.Collections.Specialized.NameValueCollection.GetValues(System.String)">
656 <summary>获取与 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的指定键关联的值。</summary>
657 <returns>如果找到,则为一个 <see cref="T:System.String" /> 数组,包含与 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中的指定键关联的值;否则为 null。</returns>
658 <param name="name">项的 <see cref="T:System.String" /> 键,该项包含要获取的值。键可以是 null。</param>
660 <member name="M:System.Collections.Specialized.NameValueCollection.HasKeys">
661 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 是否包含非 null 的键。</summary>
662 <returns>如果 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 包含非 null 的键,则为 true;否则为 false。</returns>
664 <member name="M:System.Collections.Specialized.NameValueCollection.InvalidateCachedArrays">
665 <summary>将集合的缓存数组重置为 null。</summary>
667 <member name="P:System.Collections.Specialized.NameValueCollection.Item(System.Int32)">
668 <summary>获取 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中指定索引处的项。</summary>
670 <see cref="T:System.String" /> 包含集合中指定索引处的值的列表(此列表以逗号分隔)。</returns>
671 <param name="index">要在集合中定位的项的从零开始的索引。</param>
672 <exception cref="T:System.ArgumentOutOfRangeException">
673 <paramref name="index" /> 在集合的有效索引范围外。</exception>
675 <member name="P:System.Collections.Specialized.NameValueCollection.Item(System.String)">
676 <summary>获取或设置 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中具有指定键的项。</summary>
677 <returns>如果找到了,则为一个 <see cref="T:System.String" />,它包含与指定键关联的值的列表(用逗号分隔);否则为 null。</returns>
678 <param name="name">要定位的项的 <see cref="T:System.String" /> 键。键可以是 null。</param>
679 <exception cref="T:System.NotSupportedException">该集合是只读的,但此操作尝试修改该集合。</exception>
681 <member name="M:System.Collections.Specialized.NameValueCollection.Remove(System.String)">
682 <summary>移除 <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> 实例中具有指定键的项。</summary>
683 <param name="name">要移除的项的 <see cref="T:System.String" /> 键。键可以是 null。</param>
684 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
686 <member name="M:System.Collections.Specialized.NameValueCollection.Set(System.String,System.String)">
687 <summary>设置 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 中某个项的值。</summary>
688 <param name="name">要向其添加新值的项的 <see cref="T:System.String" /> 键。键可以是 null。</param>
690 <see cref="T:System.Object" />,表示要添加到指定项的新值。该值可以为 null。</param>
691 <exception cref="T:System.NotSupportedException">该集合为只读。</exception>
693 <member name="T:System.Collections.Specialized.OrderedDictionary">
694 <summary>表示可通过键或索引访问的键/值对的集合。</summary>
696 <member name="M:System.Collections.Specialized.OrderedDictionary.#ctor">
697 <summary>初始化 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 类的新实例。</summary>
699 <member name="M:System.Collections.Specialized.OrderedDictionary.#ctor(System.Collections.IEqualityComparer)">
700 <summary>使用指定的比较器初始化 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 类的新实例。</summary>
701 <param name="comparer">
702 <see cref="T:System.Collections.IComparer" />,用于确定两个键是否相等。- 或 - null 使用默认比较器,该比较器是每一个键的 <see cref="M:System.Object.Equals(System.Object)" /> 实现。</param>
704 <member name="M:System.Collections.Specialized.OrderedDictionary.#ctor(System.Int32)">
705 <summary>使用指定的初始容量初始化 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 类的新实例。</summary>
706 <param name="capacity">
707 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合可以包含的初始元素数。</param>
709 <member name="M:System.Collections.Specialized.OrderedDictionary.#ctor(System.Int32,System.Collections.IEqualityComparer)">
710 <summary>使用指定初始容量和比较器初始化 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 类的新实例。</summary>
711 <param name="capacity">
712 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合可以包含的初始元素数。</param>
713 <param name="comparer">
714 <see cref="T:System.Collections.IComparer" />,用于确定两个键是否相等。- 或 - null 使用默认比较器,该比较器是每一个键的 <see cref="M:System.Object.Equals(System.Object)" /> 实现。</param>
716 <member name="M:System.Collections.Specialized.OrderedDictionary.Add(System.Object,System.Object)">
717 <summary>使用最小的可用索引,将具有指定键和值的项添加到 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中。</summary>
718 <param name="key">要添加的条目的键。</param>
719 <param name="value">要添加的条目的值。此值可为 null。</param>
720 <exception cref="T:System.NotSupportedException">
721 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合为只读。</exception>
723 <member name="M:System.Collections.Specialized.OrderedDictionary.AsReadOnly">
724 <summary>返回当前 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合的只读副本。</summary>
725 <returns>当前 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合的只读副本。</returns>
727 <member name="M:System.Collections.Specialized.OrderedDictionary.Clear">
728 <summary>移除 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中的所有元素。</summary>
729 <exception cref="T:System.NotSupportedException">
730 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合为只读。</exception>
732 <member name="M:System.Collections.Specialized.OrderedDictionary.Contains(System.Object)">
733 <summary>确定 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合是否包含特定的键。</summary>
734 <returns>如果 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合包含具有指定键的元素,则为 true;否则为 false。</returns>
735 <param name="key">要在 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中定位的键。</param>
737 <member name="M:System.Collections.Specialized.OrderedDictionary.CopyTo(System.Array,System.Int32)">
738 <summary>将 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 元素复制到位于指定索引处的一维 <see cref="T:System.Array" /> 对象中。</summary>
739 <param name="array">一维 <see cref="T:System.Array" /> 对象,是从 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合复制的 <see cref="T:System.Collections.DictionaryEntry" /> 对象的目标。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
741 <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
743 <member name="P:System.Collections.Specialized.OrderedDictionary.Count">
744 <summary>获取包含在 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中的键/值对的数目。</summary>
745 <returns>包含在 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中的键/值对的数目。</returns>
747 <member name="M:System.Collections.Specialized.OrderedDictionary.GetEnumerator">
748 <summary>返回一个循环访问 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合的 <see cref="T:System.Collections.IDictionaryEnumerator" /> 对象。</summary>
750 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合的 <see cref="T:System.Collections.IDictionaryEnumerator" /> 对象。</returns>
752 <member name="M:System.Collections.Specialized.OrderedDictionary.Insert(System.Int32,System.Object,System.Object)">
753 <summary>在指定索引处用指定键和值将新项插入到 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中。</summary>
754 <param name="index">应在从零开始的索引处插入元素。</param>
755 <param name="key">要添加的条目的键。</param>
756 <param name="value">要添加的条目的值。该值可以为 null。</param>
757 <exception cref="T:System.ArgumentOutOfRangeException">
758 <paramref name="index" /> 超出范围。</exception>
759 <exception cref="T:System.NotSupportedException">此集合是只读的。</exception>
761 <member name="P:System.Collections.Specialized.OrderedDictionary.IsReadOnly">
762 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合是否为只读的。</summary>
763 <returns>如果 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合为只读,则为 true;否则为 false。默认值为 false。</returns>
765 <member name="P:System.Collections.Specialized.OrderedDictionary.Item(System.Int32)">
766 <summary>获取或设置指定索引处的值。</summary>
767 <returns>在指定索引处的项的值。</returns>
768 <param name="index">要获取或设置的值的从零开始索引。</param>
769 <exception cref="T:System.NotSupportedException">正在设置此属性,但 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合是只读的。</exception>
770 <exception cref="T:System.ArgumentOutOfRangeException">
771 <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 等于或大于 <see cref="P:System.Collections.Specialized.OrderedDictionary.Count" />。</exception>
773 <member name="P:System.Collections.Specialized.OrderedDictionary.Item(System.Object)">
774 <summary>获取或设置具有指定键的值。</summary>
775 <returns>与指定的键相关联的值。如果未找到指定的键,尝试获取它将返回 null,尝试设置它将使用指定的键创建新元素。</returns>
776 <param name="key">要获取或设置的值的键。</param>
777 <exception cref="T:System.NotSupportedException">正在设置此属性,但 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合是只读的。</exception>
779 <member name="P:System.Collections.Specialized.OrderedDictionary.Keys">
780 <summary>获取 <see cref="T:System.Collections.ICollection" /> 对象,该对象包含 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中的键。</summary>
781 <returns>一个 <see cref="T:System.Collections.ICollection" /> 对象,它包含 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中的键。</returns>
783 <member name="M:System.Collections.Specialized.OrderedDictionary.Remove(System.Object)">
784 <summary>从 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中移除具有指定键的项。</summary>
785 <param name="key">要移除的条目的键。</param>
786 <exception cref="T:System.NotSupportedException">
787 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合为只读。</exception>
788 <exception cref="T:System.ArgumentNullException">
789 <paramref name="key" /> 为 null。</exception>
791 <member name="M:System.Collections.Specialized.OrderedDictionary.RemoveAt(System.Int32)">
792 <summary>从 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中移除指定索引处的项。</summary>
793 <param name="index">要移除的项的从零开始的索引。</param>
794 <exception cref="T:System.NotSupportedException">
795 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合为只读。</exception>
796 <exception cref="T:System.ArgumentOutOfRangeException">
797 <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 等于或大于 <see cref="P:System.Collections.Specialized.OrderedDictionary.Count" />。</exception>
799 <member name="P:System.Collections.Specialized.OrderedDictionary.System#Collections#ICollection#IsSynchronized">
800 <summary>获取一个值,该值指示对 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 对象的访问是否同步(线程安全)。</summary>
801 <returns>此方法通常返回 false。</returns>
803 <member name="P:System.Collections.Specialized.OrderedDictionary.System#Collections#ICollection#SyncRoot">
804 <summary>获取一个对象,该对象可用于同步对 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 对象的访问。</summary>
805 <returns>一个对象,该对象可用于同步对 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 对象的访问。</returns>
807 <member name="P:System.Collections.Specialized.OrderedDictionary.System#Collections#IDictionary#IsFixedSize">
808 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 是否具有固定大小。</summary>
809 <returns>true if the <see cref="T:System.Collections.Specialized.OrderedDictionary" /> has a fixed size; otherwise, false.默认值为 false。</returns>
811 <member name="M:System.Collections.Specialized.OrderedDictionary.System#Collections#IEnumerable#GetEnumerator">
812 <summary>返回一个循环访问 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合的 <see cref="T:System.Collections.IDictionaryEnumerator" /> 对象。</summary>
814 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合的 <see cref="T:System.Collections.IDictionaryEnumerator" /> 对象。</returns>
816 <member name="P:System.Collections.Specialized.OrderedDictionary.Values">
817 <summary>获取 <see cref="T:System.Collections.ICollection" /> 对象,该对象包含 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中的值。</summary>
818 <returns>一个 <see cref="T:System.Collections.ICollection" /> 对象,它包含 <see cref="T:System.Collections.Specialized.OrderedDictionary" /> 集合中的值。</returns>
820 <member name="T:System.Collections.Specialized.StringCollection">
821 <summary>表示字符串的集合。</summary>
823 <member name="M:System.Collections.Specialized.StringCollection.#ctor">
824 <summary>初始化 <see cref="T:System.Collections.Specialized.StringCollection" /> 类的新实例。</summary>
826 <member name="M:System.Collections.Specialized.StringCollection.Add(System.String)">
827 <summary>将字符串添加到 <see cref="T:System.Collections.Specialized.StringCollection" /> 的末尾。</summary>
828 <returns>从零开始的索引,在此处插入新元素。</returns>
829 <param name="value">要添加到 <see cref="T:System.Collections.Specialized.StringCollection" /> 的末尾的字符串。该值可以为 null。</param>
831 <member name="M:System.Collections.Specialized.StringCollection.AddRange(System.String[])">
832 <summary>将字符串数组的元素复制到 <see cref="T:System.Collections.Specialized.StringCollection" /> 的末尾。</summary>
833 <param name="value">要添加到 <see cref="T:System.Collections.Specialized.StringCollection" /> 的末尾的字符串数组。数组本身不能为 null,但可以包含为 null 的元素。</param>
834 <exception cref="T:System.ArgumentNullException">
835 <paramref name="value" /> 为 null。</exception>
837 <member name="M:System.Collections.Specialized.StringCollection.Clear">
838 <summary>移除 <see cref="T:System.Collections.Specialized.StringCollection" /> 中的所有字符串。</summary>
840 <member name="M:System.Collections.Specialized.StringCollection.Contains(System.String)">
841 <summary>确定指定的字符串是否在 <see cref="T:System.Collections.Specialized.StringCollection" /> 中。</summary>
842 <returns>如果在 <see cref="T:System.Collections.Specialized.StringCollection" /> 中找到 <paramref name="value" />,则为 true;否则为 false。</returns>
843 <param name="value">要在 <see cref="T:System.Collections.Specialized.StringCollection" /> 中定位的字符串。该值可以为 null。</param>
845 <member name="M:System.Collections.Specialized.StringCollection.CopyTo(System.String[],System.Int32)">
846 <summary>从目标数组的指定索引处开始,将全部 <see cref="T:System.Collections.Specialized.StringCollection" /> 值复制到一维字符串数组中。</summary>
847 <param name="array">一维字符串数组,用作从 <see cref="T:System.Collections.Specialized.StringCollection" /> 复制元素的目标数组。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
849 <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
850 <exception cref="T:System.ArgumentNullException">
851 <paramref name="array" /> 为 null。</exception>
852 <exception cref="T:System.ArgumentOutOfRangeException">
853 <paramref name="index" /> 小于零。</exception>
854 <exception cref="T:System.ArgumentException">
855 <paramref name="array" /> 是多维的。- 或 -源 <see cref="T:System.Collections.Specialized.StringCollection" /> 中的元素数目大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 末尾之间的可用空间。</exception>
856 <exception cref="T:System.InvalidCastException">源 <see cref="T:System.Collections.Specialized.StringCollection" /> 的类型无法自动转换为目标 <paramref name="array" /> 的类型。</exception>
858 <member name="P:System.Collections.Specialized.StringCollection.Count">
859 <summary>获取 <see cref="T:System.Collections.Specialized.StringCollection" /> 中包含的字符串的数目。</summary>
861 <see cref="T:System.Collections.Specialized.StringCollection" /> 中包含的字符串的数目。</returns>
863 <member name="M:System.Collections.Specialized.StringCollection.GetEnumerator">
864 <summary>返回循环访问 <see cref="T:System.Collections.Specialized.StringCollection" /> 的 <see cref="T:System.Collections.Specialized.StringEnumerator" />。</summary>
865 <returns>用于 <see cref="T:System.Collections.Specialized.StringCollection" /> 的 <see cref="T:System.Collections.Specialized.StringEnumerator" />。</returns>
867 <member name="M:System.Collections.Specialized.StringCollection.IndexOf(System.String)">
868 <summary>搜索指定的字符串并返回 <see cref="T:System.Collections.Specialized.StringCollection" /> 内的第一个匹配项的从零开始的索引。</summary>
869 <returns>如果找到,则为 <see cref="T:System.Collections.Specialized.StringCollection" /> 中 <paramref name="value" /> 的第一个匹配项的从零开始的索引;否则为 -1。</returns>
870 <param name="value">要定位的字符串。该值可以为 null。</param>
872 <member name="M:System.Collections.Specialized.StringCollection.Insert(System.Int32,System.String)">
873 <summary>将字符串插入 <see cref="T:System.Collections.Specialized.StringCollection" /> 中的指定索引处。</summary>
874 <param name="index">从零开始的索引,在此处插入 <paramref name="value" />。</param>
875 <param name="value">要插入的字符串。该值可以为 null。</param>
876 <exception cref="T:System.ArgumentOutOfRangeException">
877 <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 大于 <see cref="P:System.Collections.Specialized.StringCollection.Count" />。</exception>
879 <member name="P:System.Collections.Specialized.StringCollection.IsReadOnly">
880 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.StringCollection" /> 是否为只读。</summary>
881 <returns>该属性始终返回 false。</returns>
883 <member name="P:System.Collections.Specialized.StringCollection.IsSynchronized">
884 <summary>获取一个值,该值指示是否同步对 <see cref="T:System.Collections.Specialized.StringCollection" /> 的访问(线程安全)。</summary>
885 <returns>该属性始终返回 false。</returns>
887 <member name="P:System.Collections.Specialized.StringCollection.Item(System.Int32)">
888 <summary>获取或设置位于指定索引处的元素。</summary>
889 <returns>位于指定索引处的元素。</returns>
890 <param name="index">要获取或设置的项的从零开始的索引。</param>
891 <exception cref="T:System.ArgumentOutOfRangeException">
892 <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 等于或大于 <see cref="P:System.Collections.Specialized.StringCollection.Count" />。</exception>
894 <member name="M:System.Collections.Specialized.StringCollection.Remove(System.String)">
895 <summary>从 <see cref="T:System.Collections.Specialized.StringCollection" /> 中移除特定字符串的第一个匹配项。</summary>
896 <param name="value">要从 <see cref="T:System.Collections.Specialized.StringCollection" /> 中移除的字符串。该值可以为 null。</param>
898 <member name="M:System.Collections.Specialized.StringCollection.RemoveAt(System.Int32)">
899 <summary>移除 <see cref="T:System.Collections.Specialized.StringCollection" /> 的指定索引处的字符串。</summary>
900 <param name="index">要删除的字符串的从零开始的索引。</param>
901 <exception cref="T:System.ArgumentOutOfRangeException">
902 <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 等于或大于 <see cref="P:System.Collections.Specialized.StringCollection.Count" />。</exception>
904 <member name="P:System.Collections.Specialized.StringCollection.SyncRoot">
905 <summary>获取可用于同步对 <see cref="T:System.Collections.Specialized.StringCollection" /> 的访问的对象。</summary>
906 <returns>可用于同步对 <see cref="T:System.Collections.Specialized.StringCollection" /> 的访问的对象。</returns>
908 <member name="M:System.Collections.Specialized.StringCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
909 <summary>从目标数组的指定索引处开始将整个 <see cref="T:System.Collections.Specialized.StringCollection" /> 复制到兼容的一维 <see cref="T:System.Array" />。</summary>
910 <param name="array">作为从 <see cref="T:System.Collections.Specialized.StringCollection" /> 复制的元素的目标的一维 <see cref="T:System.Array" />。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
912 <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
913 <exception cref="T:System.ArgumentNullException">
914 <paramref name="array" /> 为 null。</exception>
915 <exception cref="T:System.ArgumentOutOfRangeException">
916 <paramref name="index" /> 小于零。</exception>
917 <exception cref="T:System.ArgumentException">
918 <paramref name="array" /> 是多维的。- 或 -源 <see cref="T:System.Collections.Specialized.StringCollection" /> 中的元素数目大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 末尾之间的可用空间。</exception>
919 <exception cref="T:System.InvalidCastException">源 <see cref="T:System.Collections.Specialized.StringCollection" /> 的类型无法自动转换为目标 <paramref name="array" /> 的类型。</exception>
921 <member name="M:System.Collections.Specialized.StringCollection.System#Collections#IEnumerable#GetEnumerator">
922 <summary>返回循环访问 <see cref="T:System.Collections.Specialized.StringCollection" /> 的 <see cref="T:System.Collections.IEnumerator" />。</summary>
923 <returns>用于 <see cref="T:System.Collections.Specialized.StringCollection" /> 的 <see cref="T:System.Collections.IEnumerator" />。</returns>
925 <member name="M:System.Collections.Specialized.StringCollection.System#Collections#IList#Add(System.Object)">
926 <summary>将对象添加到 <see cref="T:System.Collections.Specialized.StringCollection" /> 的结尾处。</summary>
928 <see cref="T:System.Collections.Specialized.StringCollection" /> 索引,已在此处添加了 <paramref name="value" />。</returns>
929 <param name="value">要添加到 <see cref="T:System.Collections.Specialized.StringCollection" /> 的末尾处的 <see cref="T:System.Object" />。该值可以为 null。</param>
930 <exception cref="T:System.NotSupportedException">
931 <see cref="T:System.Collections.Specialized.StringCollection" /> 为只读。- 或 -<see cref="T:System.Collections.Specialized.StringCollection" /> 具有固定大小。</exception>
933 <member name="M:System.Collections.Specialized.StringCollection.System#Collections#IList#Contains(System.Object)">
934 <summary>确定某元素是否在 <see cref="T:System.Collections.Specialized.StringCollection" /> 中。</summary>
935 <returns>如果在 <see cref="T:System.Collections.Specialized.StringCollection" /> 中找到 <paramref name="value" />,则为 true;否则为 false。</returns>
936 <param name="value">要在 <see cref="T:System.Collections.Specialized.StringCollection" /> 中查找的 <see cref="T:System.Object" />。该值可以为 null。</param>
938 <member name="M:System.Collections.Specialized.StringCollection.System#Collections#IList#IndexOf(System.Object)">
939 <summary>搜索指定的 <see cref="T:System.Object" />,并返回整个 <see cref="T:System.Collections.Specialized.StringCollection" /> 中第一个匹配项的从零开始的索引。</summary>
940 <returns>如果在整个 <see cref="T:System.Collections.Specialized.StringCollection" /> 中找到 <paramref name="value" /> 的第一个匹配项,则为该项的从零开始的索引;否则为 -1。</returns>
941 <param name="value">要在 <see cref="T:System.Collections.Specialized.StringCollection" /> 中查找的 <see cref="T:System.Object" />。该值可以为 null。</param>
943 <member name="M:System.Collections.Specialized.StringCollection.System#Collections#IList#Insert(System.Int32,System.Object)">
944 <summary>将元素插入 <see cref="T:System.Collections.Specialized.StringCollection" /> 的指定索引处。</summary>
945 <param name="index">从零开始的索引,应在该位置插入 <paramref name="value" />。</param>
946 <param name="value">要插入的 <see cref="T:System.Object" />。该值可以为 null。</param>
947 <exception cref="T:System.ArgumentOutOfRangeException">
948 <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 大于 <see cref="P:System.Collections.Specialized.StringCollection.Count" />。</exception>
949 <exception cref="T:System.NotSupportedException">
950 <see cref="T:System.Collections.Specialized.StringCollection" /> 为只读。- 或 -<see cref="T:System.Collections.Specialized.StringCollection" /> 具有固定大小。</exception>
952 <member name="P:System.Collections.Specialized.StringCollection.System#Collections#IList#IsFixedSize">
953 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.StringCollection" /> 对象是否具有固定大小。</summary>
954 <returns>如果 <see cref="T:System.Collections.Specialized.StringCollection" /> 对象具有固定大小,则为 true;否则为 false。默认值为 false。</returns>
956 <member name="P:System.Collections.Specialized.StringCollection.System#Collections#IList#IsReadOnly">
957 <summary>获取一个值,该值指示 <see cref="T:System.Collections.Specialized.StringCollection" /> 对象是否为只读。</summary>
958 <returns>如果 <see cref="T:System.Collections.Specialized.StringCollection" /> 对象为只读,则为 true;否则为 false。默认值为 false。</returns>
960 <member name="P:System.Collections.Specialized.StringCollection.System#Collections#IList#Item(System.Int32)">
961 <summary>获取或设置位于指定索引处的元素。</summary>
962 <returns>位于指定索引处的元素。</returns>
963 <param name="index">要获得或设置的元素从零开始的索引。</param>
964 <exception cref="T:System.ArgumentOutOfRangeException">
965 <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 等于或大于 <see cref="P:System.Collections.Specialized.StringCollection.Count" />。</exception>
967 <member name="M:System.Collections.Specialized.StringCollection.System#Collections#IList#Remove(System.Object)">
968 <summary>从 <see cref="T:System.Collections.Specialized.StringCollection" /> 中移除特定对象的第一个匹配项。</summary>
969 <param name="value">要从 <see cref="T:System.Collections.Specialized.StringCollection" /> 移除的 <see cref="T:System.Object" />。该值可以为 null。</param>
970 <exception cref="T:System.NotSupportedException">
971 <see cref="T:System.Collections.Specialized.StringCollection" /> 为只读。- 或 -<see cref="T:System.Collections.Specialized.StringCollection" /> 具有固定大小。</exception>
973 <member name="T:System.Collections.Specialized.StringDictionary">
974 <summary>使用字符串(而不是对象)强类型的键和值来实现哈希表。</summary>
976 <member name="M:System.Collections.Specialized.StringDictionary.#ctor">
977 <summary>初始化 <see cref="T:System.Collections.Specialized.StringDictionary" /> 类的新实例。</summary>
979 <member name="M:System.Collections.Specialized.StringDictionary.Add(System.String,System.String)">
980 <summary>将带有指定键和值的条目添加到 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中。</summary>
981 <param name="key">要添加的条目的键。</param>
982 <param name="value">要添加的条目的值。该值可以为 null。</param>
983 <exception cref="T:System.ArgumentNullException">
984 <paramref name="key" /> is null. </exception>
985 <exception cref="T:System.ArgumentException">An entry with the same key already exists in the <see cref="T:System.Collections.Specialized.StringDictionary" />. </exception>
986 <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Specialized.StringDictionary" /> is read-only. </exception>
988 <member name="M:System.Collections.Specialized.StringDictionary.Clear">
989 <summary>从 <see cref="T:System.Collections.Specialized.StringDictionary" /> 移除所有条目。</summary>
990 <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Specialized.StringDictionary" /> is read-only. </exception>
992 <member name="M:System.Collections.Specialized.StringDictionary.ContainsKey(System.String)">
993 <summary>确定是否 <see cref="T:System.Collections.Specialized.StringDictionary" /> 包含一个指定键。</summary>
994 <returns>如果 <see cref="T:System.Collections.Specialized.StringDictionary" /> 包含带指定键的条目,则为 true;否则为 false。</returns>
995 <param name="key">要在 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中定位的键。 </param>
996 <exception cref="T:System.ArgumentNullException">The key is null. </exception>
998 <member name="M:System.Collections.Specialized.StringDictionary.ContainsValue(System.String)">
999 <summary>确定是否 <see cref="T:System.Collections.Specialized.StringDictionary" /> 包含一个指定值。</summary>
1000 <returns>如果 <see cref="T:System.Collections.Specialized.StringDictionary" /> 包含具有指定值的元素,则为 true;否则为 false。</returns>
1001 <param name="value">要在 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中定位的值。该值可以为 null。</param>
1003 <member name="M:System.Collections.Specialized.StringDictionary.CopyTo(System.Array,System.Int32)">
1004 <summary>将字符串字典值复制到一维 <see cref="T:System.Array" /> 实例的指定索引位置。</summary>
1005 <param name="array">一维 <see cref="T:System.Array" />,它是从 <see cref="T:System.Collections.Specialized.StringDictionary" /> 复制的值的目标。</param>
1006 <param name="index">数组中的索引,复制即从该位置开始。</param>
1007 <exception cref="T:System.ArgumentException">
1008 <paramref name="array" /> is multidimensional.-or- The number of elements in the <see cref="T:System.Collections.Specialized.StringDictionary" /> is greater than the available space from <paramref name="index" /> to the end of <paramref name="array" />. </exception>
1009 <exception cref="T:System.ArgumentNullException">
1010 <paramref name="array" /> is null. </exception>
1011 <exception cref="T:System.ArgumentOutOfRangeException">
1012 <paramref name="index" /> is less than the lower bound of <paramref name="array" />. </exception>
1014 <member name="P:System.Collections.Specialized.StringDictionary.Count">
1015 <summary>获取 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中的键/值对的数目。</summary>
1017 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中的键/值对的数目。检索此属性的值的运算复杂度为 O(1)。</returns>
1019 <member name="M:System.Collections.Specialized.StringDictionary.GetEnumerator">
1020 <summary>返回循环访问字符串字典的枚举数。</summary>
1021 <returns>一个 <see cref="T:System.Collections.IEnumerator" />,它循环访问字符串字典。</returns>
1023 <member name="P:System.Collections.Specialized.StringDictionary.IsSynchronized">
1024 <summary>获取一个值,该值指示是否同步对 <see cref="T:System.Collections.Specialized.StringDictionary" /> 的访问(线程安全)。</summary>
1025 <returns>如果对 <see cref="T:System.Collections.Specialized.StringDictionary" /> 的访问是同步的(线程安全),则为 true;否则为 false。</returns>
1027 <member name="P:System.Collections.Specialized.StringDictionary.Item(System.String)">
1028 <summary>获取或设置与指定的键关联的值。</summary>
1029 <returns>与指定的键相关联的值。如果指定键未找到,则 Get 返回 null,Set 创建一个带指定键的新条目。</returns>
1030 <param name="key">要获取或设置其值的键。</param>
1031 <exception cref="T:System.ArgumentNullException">
1032 <paramref name="key" /> is null.</exception>
1034 <member name="P:System.Collections.Specialized.StringDictionary.Keys">
1035 <summary>获取 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中的键的集合。</summary>
1036 <returns>一个 <see cref="T:System.Collections.ICollection" />,它提供 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中的键。</returns>
1038 <member name="M:System.Collections.Specialized.StringDictionary.Remove(System.String)">
1039 <summary>从字符串字典中移除带有指定键的条目。</summary>
1040 <param name="key">要移除的条目的键。</param>
1041 <exception cref="T:System.ArgumentNullException">The key is null. </exception>
1042 <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Specialized.StringDictionary" /> is read-only. </exception>
1044 <member name="P:System.Collections.Specialized.StringDictionary.SyncRoot">
1045 <summary>获取可用于同步对 <see cref="T:System.Collections.Specialized.StringDictionary" /> 的访问的对象。</summary>
1046 <returns>一个 <see cref="T:System.Object" />,可用于同步对 <see cref="T:System.Collections.Specialized.StringDictionary" /> 的访问。</returns>
1048 <member name="P:System.Collections.Specialized.StringDictionary.Values">
1049 <summary>获取 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中的值的集合。</summary>
1050 <returns>一个 <see cref="T:System.Collections.ICollection" />,它提供 <see cref="T:System.Collections.Specialized.StringDictionary" /> 中的值。</returns>
1052 <member name="T:System.Collections.Specialized.StringEnumerator">
1053 <summary>支持在 <see cref="T:System.Collections.Specialized.StringCollection" /> 上进行简单迭代。</summary>
1055 <member name="P:System.Collections.Specialized.StringEnumerator.Current">
1056 <summary>获取集合中的当前元素。</summary>
1057 <returns>集合中的当前元素。</returns>
1058 <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
1060 <member name="M:System.Collections.Specialized.StringEnumerator.MoveNext">
1061 <summary>将枚举数推进到集合的下一个元素。</summary>
1062 <returns>如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则为 false。</returns>
1063 <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
1065 <member name="M:System.Collections.Specialized.StringEnumerator.Reset">
1066 <summary>将枚举数设置为其初始位置,该位置位于集合中第一个元素之前。</summary>
1067 <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>