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 <remarks>To be added.</remarks>
71 <since version=".NET 2.0" />
73 <attribution license="cc4" from="Microsoft" modified="false" />
74 <para>Determines whether the specified cell is contained in the collection.</para>
77 <attribution license="cc4" from="Microsoft" modified="false" />
78 <para>true if <paramref name="dataGridViewCell" /> is in the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />; otherwise, false.</para>
80 <param name="dataGridViewCell">
81 <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>
84 <AssemblyVersion>2.0.0.0</AssemblyVersion>
87 <Member MemberName="CopyTo">
88 <MemberSignature Language="C#" Value="public void CopyTo (System.Windows.Forms.DataGridViewCell[] array, int index);" />
89 <MemberType>Method</MemberType>
91 <ReturnType>System.Void</ReturnType>
94 <Parameter Name="array" Type="System.Windows.Forms.DataGridViewCell[]" />
95 <Parameter Name="index" Type="System.Int32" />
98 <remarks>To be added.</remarks>
99 <since version=".NET 2.0" />
101 <attribution license="cc4" from="Microsoft" modified="false" />
102 <para>Copies the elements of the collection to the specified <see cref="T:System.Windows.Forms.DataGridViewCell" /> array, starting at the specified index.</para>
105 <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>
107 <attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in <paramref name="array" /> at which copying begins.</param>
110 <AssemblyVersion>2.0.0.0</AssemblyVersion>
113 <Member MemberName="Insert">
114 <MemberSignature Language="C#" Value="public void Insert (int index, System.Windows.Forms.DataGridViewCell dataGridViewCell);" />
115 <MemberType>Method</MemberType>
117 <ReturnType>System.Void</ReturnType>
120 <Parameter Name="index" Type="System.Int32" />
121 <Parameter Name="dataGridViewCell" Type="System.Windows.Forms.DataGridViewCell" />
124 <since version=".NET 2.0" />
126 <attribution license="cc4" from="Microsoft" modified="false" />
127 <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>
130 <attribution license="cc4" from="Microsoft" modified="false" />
131 <para>Inserts a cell into the collection.</para>
134 <attribution license="cc4" from="Microsoft" modified="false" />The index at which <paramref name="dataGridViewCell" /> should be inserted.</param>
135 <param name="dataGridViewCell">
136 <attribution license="cc4" from="Microsoft" modified="false" />The object to be added to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
139 <AssemblyVersion>2.0.0.0</AssemblyVersion>
143 <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
147 <Member MemberName="Item">
148 <MemberSignature Language="C#" Value="public System.Windows.Forms.DataGridViewCell this[int index] { get; }" />
149 <MemberType>Property</MemberType>
151 <ReturnType>System.Windows.Forms.DataGridViewCell</ReturnType>
154 <Parameter Name="index" Type="System.Int32" />
157 <param name="index">To be added.</param>
158 <summary>To be added.</summary>
159 <value>To be added.</value>
160 <remarks>To be added.</remarks>
161 <since version=".NET 2.0" />
164 <AssemblyVersion>2.0.0.0</AssemblyVersion>
167 <Member MemberName="List">
168 <MemberSignature Language="C#" Value="protected override System.Collections.ArrayList List { get; }" />
169 <MemberType>Property</MemberType>
171 <AssemblyVersion>2.0.0.0</AssemblyVersion>
174 <ReturnType>System.Collections.ArrayList</ReturnType>
177 <value>To be added.</value>
178 <remarks>To be added.</remarks>
180 <attribution license="cc4" from="Microsoft" modified="false" />
181 <para>Gets a list of elements in the collection.</para>
185 <Member MemberName="System.Collections.IList.Add">
186 <MemberSignature Language="C#" Value="int IList.Add (object value);" />
187 <MemberType>Method</MemberType>
189 <AssemblyVersion>2.0.0.0</AssemblyVersion>
192 <ReturnType>System.Int32</ReturnType>
195 <Parameter Name="value" Type="System.Object" />
199 <attribution license="cc4" from="Microsoft" modified="false" />
200 <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>
201 <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>
204 <attribution license="cc4" from="Microsoft" modified="false" />
205 <para>Implements the <see cref="M:System.Collections.IList.Add(System.Object)" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
208 <attribution license="cc4" from="Microsoft" modified="false" />
209 <para>The position into which the new element was inserted.</para>
212 <attribution license="cc4" from="Microsoft" modified="false" />The item to be added to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
215 <Member MemberName="System.Collections.IList.Clear">
216 <MemberSignature Language="C#" Value="void IList.Clear ();" />
217 <MemberType>Method</MemberType>
219 <AssemblyVersion>2.0.0.0</AssemblyVersion>
222 <ReturnType>System.Void</ReturnType>
227 <attribution license="cc4" from="Microsoft" modified="false" />
228 <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>
229 <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>
232 <attribution license="cc4" from="Microsoft" modified="false" />
233 <para>Implements the <see cref="M:System.Collections.IList.Clear" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
237 <Member MemberName="System.Collections.IList.Contains">
238 <MemberSignature Language="C#" Value="bool IList.Contains (object value);" />
239 <MemberType>Method</MemberType>
241 <AssemblyVersion>2.0.0.0</AssemblyVersion>
244 <ReturnType>System.Boolean</ReturnType>
247 <Parameter Name="value" Type="System.Object" />
251 <attribution license="cc4" from="Microsoft" modified="false" />
252 <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>
255 <attribution license="cc4" from="Microsoft" modified="false" />
256 <para>Determines whether the specified cell is contained in the collection.</para>
259 <attribution license="cc4" from="Microsoft" modified="false" />
260 <para>true if <paramref name="value" /> is in the collection; otherwise, false.</para>
263 <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>
266 <Member MemberName="System.Collections.IList.IndexOf">
267 <MemberSignature Language="C#" Value="int IList.IndexOf (object value);" />
268 <MemberType>Method</MemberType>
270 <AssemblyVersion>2.0.0.0</AssemblyVersion>
273 <ReturnType>System.Int32</ReturnType>
276 <Parameter Name="value" Type="System.Object" />
280 <attribution license="cc4" from="Microsoft" modified="false" />
281 <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>
284 <attribution license="cc4" from="Microsoft" modified="false" />
285 <para>Returns the index of the specified cell.</para>
288 <attribution license="cc4" from="Microsoft" modified="false" />
289 <para>The zero-based index of the <paramref name="value" /> parameter if it is found in the collection; otherwise, -1.</para>
292 <attribution license="cc4" from="Microsoft" modified="false" />The cell to locate in the collection.</param>
295 <Member MemberName="System.Collections.IList.Insert">
296 <MemberSignature Language="C#" Value="void IList.Insert (int index, object value);" />
297 <MemberType>Method</MemberType>
299 <AssemblyVersion>2.0.0.0</AssemblyVersion>
302 <ReturnType>System.Void</ReturnType>
305 <Parameter Name="index" Type="System.Int32" />
306 <Parameter Name="value" Type="System.Object" />
310 <attribution license="cc4" from="Microsoft" modified="false" />
311 <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>
312 <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>
315 <attribution license="cc4" from="Microsoft" modified="false" />
316 <para>Implements the <see cref="M:System.Collections.IList.Insert(System.Int32,System.Object)" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
319 <attribution license="cc4" from="Microsoft" modified="false" />The index at which <paramref name="value" /> should be inserted.</param>
321 <attribution license="cc4" from="Microsoft" modified="false" />The object to be added to the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
324 <Member MemberName="System.Collections.IList.IsFixedSize">
325 <MemberSignature Language="C#" Value="bool System.Collections.IList.IsFixedSize { get; }" />
326 <MemberType>Property</MemberType>
328 <AssemblyVersion>2.0.0.0</AssemblyVersion>
331 <ReturnType>System.Boolean</ReturnType>
334 <value>To be added.</value>
336 <attribution license="cc4" from="Microsoft" modified="false" />
337 <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>
340 <attribution license="cc4" from="Microsoft" modified="false" />
341 <para>Gets a value indicating whether the collection has a fixed size.</para>
345 <Member MemberName="System.Collections.IList.Item">
346 <MemberSignature Language="C#" Value="object System.Collections.IList.Item[int index] { set; get; }" />
347 <MemberType>Property</MemberType>
349 <AssemblyVersion>2.0.0.0</AssemblyVersion>
352 <ReturnType>System.Object</ReturnType>
355 <Parameter Name="index" Type="System.Int32" />
358 <param name="index">To be added.</param>
359 <summary>To be added.</summary>
360 <value>To be added.</value>
361 <remarks>To be added.</remarks>
364 <Member MemberName="System.Collections.IList.Remove">
365 <MemberSignature Language="C#" Value="void IList.Remove (object value);" />
366 <MemberType>Method</MemberType>
368 <AssemblyVersion>2.0.0.0</AssemblyVersion>
371 <ReturnType>System.Void</ReturnType>
374 <Parameter Name="value" Type="System.Object" />
378 <attribution license="cc4" from="Microsoft" modified="false" />
379 <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>
380 <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>
383 <attribution license="cc4" from="Microsoft" modified="false" />
384 <para>Implements the <see cref="M:System.Collections.IList.Remove(System.Object)" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
387 <attribution license="cc4" from="Microsoft" modified="false" />The object to be removed from the <see cref="T:System.Windows.Forms.DataGridViewSelectedCellCollection" />.</param>
390 <Member MemberName="System.Collections.IList.RemoveAt">
391 <MemberSignature Language="C#" Value="void IList.RemoveAt (int index);" />
392 <MemberType>Method</MemberType>
394 <AssemblyVersion>2.0.0.0</AssemblyVersion>
397 <ReturnType>System.Void</ReturnType>
400 <Parameter Name="index" Type="System.Int32" />
404 <attribution license="cc4" from="Microsoft" modified="false" />
405 <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>
406 <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>
409 <attribution license="cc4" from="Microsoft" modified="false" />
410 <para>Implements the <see cref="M:System.Collections.IList.RemoveAt(System.Int32)" /> method. Always throws <see cref="T:System.NotSupportedException" />.</para>
413 <attribution license="cc4" from="Microsoft" modified="false" />The zero-based index of the item to remove.</param>