1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="DataGridViewSelectedCellCollection" FullName="System.Windows.Forms.DataGridViewSelectedCellCollection">
3 <TypeSignature Language="C#" Value="public class DataGridViewSelectedCellCollection : System.Windows.Forms.BaseCollection, System.Collections.IList" />
5 <AssemblyName>System.Windows.Forms</AssemblyName>
6 <AssemblyVersion>2.0.0.0</AssemblyVersion>
9 <BaseTypeName>System.Windows.Forms.BaseCollection</BaseTypeName>
13 <InterfaceName>System.Collections.IList</InterfaceName>
18 <AttributeName>System.ComponentModel.ListBindable(false)</AttributeName>
22 <since version=".NET 2.0" />
24 <attribution license="cc4" from="Microsoft" modified="false" />
25 <para>The order of cells in the collection is not guaranteed to match the order in which they were selected.</para>
28 <attribution license="cc4" from="Microsoft" modified="false" />
29 <para>Represents a collection of cells that are selected in a <see cref="T:System.Windows.Forms.DataGridView" />.</para>
33 <Member MemberName="Clear">
34 <MemberSignature Language="C#" Value="public void Clear ();" />
35 <MemberType>Method</MemberType>
37 <ReturnType>System.Void</ReturnType>
41 <since version=".NET 2.0" />
43 <attribution license="cc4" from="Microsoft" modified="false" />
44 <para>This method is not relevant for this class. You cannot change the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> class directly. To clear the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />, use the <see cref="M:System.Windows.Forms.DataGridView.ClearSelection" /> method.</para>
47 <attribution license="cc4" from="Microsoft" modified="false" />
48 <para>Clears the collection. </para>
52 <AssemblyVersion>2.0.0.0</AssemblyVersion>
56 <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
60 <Member MemberName="Contains">
61 <MemberSignature Language="C#" Value="public bool Contains (System.Windows.Forms.DataGridViewCell dataGridViewCell);" />
62 <MemberType>Method</MemberType>
64 <ReturnType>System.Boolean</ReturnType>
67 <Parameter Name="dataGridViewCell" Type="System.Windows.Forms.DataGridViewCell" />
70 <returns>To be added.</returns>
71 <remarks>To be added.</remarks>
72 <since version=".NET 2.0" />
74 <attribution license="cc4" from="Microsoft" modified="false" />
75 <para>Determines whether the specified cell is contained in the collection.</para>
77 <param name="dataGridViewCell">
78 <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.DataGridViewCell" /> to locate in the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
81 <AssemblyVersion>2.0.0.0</AssemblyVersion>
84 <Member MemberName="CopyTo">
85 <MemberSignature Language="C#" Value="public void CopyTo (System.Windows.Forms.DataGridViewCell[] array, int index);" />
86 <MemberType>Method</MemberType>
88 <ReturnType>System.Void</ReturnType>
91 <Parameter Name="array" Type="System.Windows.Forms.DataGridViewCell[]" />
92 <Parameter Name="index" Type="System.Int32" />
95 <remarks>To be added.</remarks>
96 <since version=".NET 2.0" />
98 <attribution license="cc4" from="Microsoft" modified="false" />
99 <para>Copies the elements of the collection to the specified <see cref="T:System.Windows.Forms.DataGridViewCell" /> array, starting at the specified index.</para>
102 <attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional array of type <see cref="T:System.Windows.Forms.DataGridViewCell" /> that is the destination of the elements copied from the collection. The array must have zero-based indexing.</param>
104 <attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in <paramref name="array" /> at which copying begins.</param>
107 <AssemblyVersion>2.0.0.0</AssemblyVersion>
110 <Member MemberName="Insert">
111 <MemberSignature Language="C#" Value="public void Insert (int index, System.Windows.Forms.DataGridViewCell dataGridViewCell);" />
112 <MemberType>Method</MemberType>
114 <ReturnType>System.Void</ReturnType>
117 <Parameter Name="index" Type="System.Int32" />
118 <Parameter Name="dataGridViewCell" Type="System.Windows.Forms.DataGridViewCell" />
121 <since version=".NET 2.0" />
123 <attribution license="cc4" from="Microsoft" modified="false" />
124 <para>This method is not relevant for this class. You cannot change the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> class directly. To add a cell to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />, use the <see cref="P:System.Windows.Forms.DataGridViewCell.Selected" /> property.</para>
127 <attribution license="cc4" from="Microsoft" modified="false" />
128 <para>Inserts a cell into the collection.</para>
131 <attribution license="cc4" from="Microsoft" modified="false" />The index at which <paramref name="dataGridViewCell" /> should be inserted.</param>
132 <param name="dataGridViewCell">
133 <attribution license="cc4" from="Microsoft" modified="false" />The object to be added to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
136 <AssemblyVersion>2.0.0.0</AssemblyVersion>
140 <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
144 <Member MemberName="Item">
145 <MemberSignature Language="C#" Value="public System.Windows.Forms.DataGridViewCell this[int index] { get; }" />
146 <MemberType>Property</MemberType>
148 <ReturnType>System.Windows.Forms.DataGridViewCell</ReturnType>
151 <Parameter Name="index" Type="System.Int32" />
154 <param name="index">To be added.</param>
155 <summary>To be added.</summary>
156 <value>To be added.</value>
157 <remarks>To be added.</remarks>
158 <since version=".NET 2.0" />
161 <AssemblyVersion>2.0.0.0</AssemblyVersion>
164 <Member MemberName="List">
165 <MemberSignature Language="C#" Value="protected override System.Collections.ArrayList List { get; }" />
166 <MemberType>Property</MemberType>
168 <AssemblyVersion>2.0.0.0</AssemblyVersion>
171 <ReturnType>System.Collections.ArrayList</ReturnType>
174 <value>To be added.</value>
175 <remarks>To be added.</remarks>
177 <attribution license="cc4" from="Microsoft" modified="false" />
178 <para>Gets a list of elements in the collection.</para>
182 <Member MemberName="System.Collections.IList.Add">
183 <MemberSignature Language="C#" Value="int IList.Add (object value);" />
184 <MemberType>Method</MemberType>
186 <AssemblyVersion>2.0.0.0</AssemblyVersion>
189 <ReturnType>System.Int32</ReturnType>
192 <Parameter Name="value" Type="System.Object" />
195 <returns>To be added.</returns>
197 <attribution license="cc4" from="Microsoft" modified="false" />
198 <para>You cannot change the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> class directly. To add a cell to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />, use the <see cref="P:System.Windows.Forms.DataGridViewCell.Selected" /> property.</para>
199 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> instance is cast to an <see cref="T:System.Collections.IList" /> interface.</para>
202 <attribution license="cc4" from="Microsoft" modified="false" />
203 <para>Implements the <see cref="M:System.Collections.IList.Add(System.Object)" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
206 <attribution license="cc4" from="Microsoft" modified="false" />The item to be added to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
209 <Member MemberName="System.Collections.IList.Clear">
210 <MemberSignature Language="C#" Value="void IList.Clear ();" />
211 <MemberType>Method</MemberType>
213 <AssemblyVersion>2.0.0.0</AssemblyVersion>
216 <ReturnType>System.Void</ReturnType>
221 <attribution license="cc4" from="Microsoft" modified="false" />
222 <para>You cannot change the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> class directly. To clear the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />, use the <see cref="M:System.Windows.Forms.DataGridView.ClearSelection" /> method.</para>
223 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> instance is cast to an <see cref="T:System.Collections.IList" /> interface.</para>
226 <attribution license="cc4" from="Microsoft" modified="false" />
227 <para>Implements the <see cref="M:System.Collections.IList.Clear" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
231 <Member MemberName="System.Collections.IList.Contains">
232 <MemberSignature Language="C#" Value="bool IList.Contains (object value);" />
233 <MemberType>Method</MemberType>
235 <AssemblyVersion>2.0.0.0</AssemblyVersion>
238 <ReturnType>System.Boolean</ReturnType>
241 <Parameter Name="value" Type="System.Object" />
244 <returns>To be added.</returns>
246 <attribution license="cc4" from="Microsoft" modified="false" />
247 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> instance is cast to an <see cref="T:System.Collections.IList" /> interface.</para>
250 <attribution license="cc4" from="Microsoft" modified="false" />
251 <para>Determines whether the specified cell is contained in the collection.</para>
254 <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.DataGridViewCell" /> to locate in the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
257 <Member MemberName="System.Collections.IList.IndexOf">
258 <MemberSignature Language="C#" Value="int IList.IndexOf (object value);" />
259 <MemberType>Method</MemberType>
261 <AssemblyVersion>2.0.0.0</AssemblyVersion>
264 <ReturnType>System.Int32</ReturnType>
267 <Parameter Name="value" Type="System.Object" />
270 <returns>To be added.</returns>
272 <attribution license="cc4" from="Microsoft" modified="false" />
273 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> instance is cast to an <see cref="T:System.Collections.IList" /> interface.</para>
276 <attribution license="cc4" from="Microsoft" modified="false" />
277 <para>Returns the index of the specified cell.</para>
280 <attribution license="cc4" from="Microsoft" modified="false" />The cell to locate in the collection.</param>
283 <Member MemberName="System.Collections.IList.Insert">
284 <MemberSignature Language="C#" Value="void IList.Insert (int index, object value);" />
285 <MemberType>Method</MemberType>
287 <AssemblyVersion>2.0.0.0</AssemblyVersion>
290 <ReturnType>System.Void</ReturnType>
293 <Parameter Name="index" Type="System.Int32" />
294 <Parameter Name="value" Type="System.Object" />
298 <attribution license="cc4" from="Microsoft" modified="false" />
299 <para>You cannot change the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> class directly. To add a cell to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />, use the <see cref="P:System.Windows.Forms.DataGridViewCell.Selected" /> property.</para>
300 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> instance is cast to an <see cref="T:System.Collections.IList" /> interface.</para>
303 <attribution license="cc4" from="Microsoft" modified="false" />
304 <para>Implements the <see cref="M:System.Collections.IList.Insert(System.Int32,System.Object)" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
307 <attribution license="cc4" from="Microsoft" modified="false" />The index at which <paramref name="value" /> should be inserted.</param>
309 <attribution license="cc4" from="Microsoft" modified="false" />The object to be added to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
312 <Member MemberName="System.Collections.IList.IsFixedSize">
313 <MemberSignature Language="C#" Value="bool System.Collections.IList.IsFixedSize { get; }" />
314 <MemberType>Property</MemberType>
316 <AssemblyVersion>2.0.0.0</AssemblyVersion>
319 <ReturnType>System.Boolean</ReturnType>
322 <value>To be added.</value>
324 <attribution license="cc4" from="Microsoft" modified="false" />
325 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> instance is cast to an <see cref="T:System.Collections.IList" /> interface.</para>
328 <attribution license="cc4" from="Microsoft" modified="false" />
329 <para>Gets a value indicating whether the collection has a fixed size.</para>
333 <Member MemberName="System.Collections.IList.Item">
334 <MemberSignature Language="C#" Value="object System.Collections.IList.Item[int index] { set; get; }" />
335 <MemberType>Property</MemberType>
337 <AssemblyVersion>2.0.0.0</AssemblyVersion>
340 <ReturnType>System.Object</ReturnType>
343 <Parameter Name="index" Type="System.Int32" />
346 <param name="index">To be added.</param>
347 <summary>To be added.</summary>
348 <value>To be added.</value>
349 <remarks>To be added.</remarks>
352 <Member MemberName="System.Collections.IList.Remove">
353 <MemberSignature Language="C#" Value="void IList.Remove (object value);" />
354 <MemberType>Method</MemberType>
356 <AssemblyVersion>2.0.0.0</AssemblyVersion>
359 <ReturnType>System.Void</ReturnType>
362 <Parameter Name="value" Type="System.Object" />
366 <attribution license="cc4" from="Microsoft" modified="false" />
367 <para>You cannot change the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> class directly. To remove a cell from the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />, use the <see cref="P:System.Windows.Forms.DataGridViewCell.Selected" /> property.</para>
368 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> instance is cast to an <see cref="T:System.Collections.IList" /> interface.</para>
371 <attribution license="cc4" from="Microsoft" modified="false" />
372 <para>Implements the <see cref="M:System.Collections.IList.Remove(System.Object)" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
375 <attribution license="cc4" from="Microsoft" modified="false" />The object to be removed from the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
378 <Member MemberName="System.Collections.IList.RemoveAt">
379 <MemberSignature Language="C#" Value="void IList.RemoveAt (int index);" />
380 <MemberType>Method</MemberType>
382 <AssemblyVersion>2.0.0.0</AssemblyVersion>
385 <ReturnType>System.Void</ReturnType>
388 <Parameter Name="index" Type="System.Int32" />
392 <attribution license="cc4" from="Microsoft" modified="false" />
393 <para>You cannot change the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> class directly. To remove a cell from the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />, use the <see cref="P:System.Windows.Forms.DataGridViewCell.Selected" /> property.</para>
394 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" /> instance is cast to an <see cref="T:System.Collections.IList" /> interface.</para>
397 <attribution license="cc4" from="Microsoft" modified="false" />
398 <para>Implements the <see cref="M:System.Collections.IList.RemoveAt(System.Int32)" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
401 <attribution license="cc4" from="Microsoft" modified="false" />The zero-based index of the item to remove.</param>