﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DataRowCollection" FullName="System.Data.DataRowCollection"><TypeSignature Language="C#" Maintainer="auto" Value="public sealed class DataRowCollection : System.Data.InternalDataCollectionBase" /><AssemblyInfo><AssemblyName>System.Data</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.3300.0</AssemblyVersion><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Data.InternalDataCollectionBase</BaseTypeName></Base><Interfaces></Interfaces><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Data.DataRowCollection" /> is a major component of the <see cref="T:System.Data.DataTable" />. While the <see cref="T:System.Data.DataColumnCollection" /> defines the schema of the table, the <see cref="T:System.Data.DataRowCollection" /> contains the actual data for the table, where each <see cref="T:System.Data.DataRow" /> in the <see cref="T:System.Data.DataRowCollection" /> represents a single row.</para><para>You can call the <see cref="M:System.Data.DataRowCollection.Add(System.Data.DataRow)" /> and <see cref="M:System.Data.DataRowCollection.Remove(System.Data.DataRow)" /> methods to insert and delete <see cref="T:System.Data.DataRow" /> objects from the <see cref="T:System.Data.DataRowCollection" />. You can also call the <see cref="M:System.Data.DataRowCollection.Find(System.Object)" /> method to search for <see cref="T:System.Data.DataRow" /> objects that contain specific values in primary key columns, and the <see cref="M:System.Data.DataRowCollection.Contains(System.Object)" /> method to search character-based data for single words or phrases.</para><para>For other operations, such as sorting or filtering the <see cref="T:System.Data.DataRowCollection" />, use methods on the <see cref="T:System.Data.DataRowCollection" />’s associated <see cref="T:System.Data.DataTable" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a collection of rows for a <see cref="T:System.Data.DataTable" />.</para></summary></Docs><Members><Member MemberName="Add"><MemberSignature Language="C#" Value="public void Add (System.Data.DataRow row);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="row" Type="System.Data.DataRow" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To create a new <see cref="T:System.Data.DataRow" />, you must use the <see cref="M:System.Data.DataTable.NewRow" /> method of the <see cref="T:System.Data.DataTable" /> class. When you use the <see cref="M:System.Data.DataTable.NewRow" /> method, a new <see cref="T:System.Data.DataRow" /> object is returned using the schema of parent <see cref="T:System.Data.DataTable" />. After you create the <see cref="T:System.Data.DataRow" /> object and set the values for each of its columns, use the <see cref="M:System.Data.DataRowCollection.Add(System.Data.DataRow)" /> method to add the object to the collection.</para><para>Generates an exception if the user generates an exception in the <see cref="E:System.Data.DataTable.RowChanging" /> event. If an exception occurs, the row is not added to the table.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the specified <see cref="T:System.Data.DataRow" /> to the <see cref="T:System.Data.DataRowCollection" /> object.</para></summary><param name="row"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataRow" /> to add.</param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Add"><MemberSignature Language="C#" Value="public System.Data.DataRow Add (object[] values);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Data.DataRow</ReturnType></ReturnValue><Parameters><Parameter Name="values" Type="System.Object[]"><Attributes><Attribute><AttributeName>System.ParamArray</AttributeName></Attribute></Attributes></Parameter></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If a <see cref="T:System.Data.DataColumn" /> object has its <see cref="P:System.Data.DataColumn.AutoIncrement" /> set to True, null should be passed to get the default value for that column.</para><para>Exceptions can also occur if you generate an exception during either a <see cref="E:System.Data.DataTable.ColumnChanging" /> or <see cref="E:System.Data.DataTable.RowChanging" /> event. If an exception occurs, the row is not added to the table.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates a row using specified values and adds it to the <see cref="T:System.Data.DataRowCollection" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>None.</para></returns><param name="values"><attribution license="cc4" from="Microsoft" modified="false" />The array of values that are used to create the new row. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Clear"><MemberSignature Language="C#" Value="public void Clear ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Clears the collection of all rows.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Contains"><MemberSignature Language="C#" Value="public bool Contains (object key);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To use the <see cref="M:System.Data.DataRowCollection.Contains(System.Object)" /> method, the <see cref="T:System.Data.DataTable" /> object to which the <see cref="T:System.Data.DataRowCollection" /> object belongs to must have at least one column designated as a primary key column. See the <see cref="P:System.Data.DataTable.PrimaryKey" /> property for more information about how to create a primary key column.</para><para>As soon as you have determined that a row contains the specified value, you can use the <see cref="M:System.Data.DataRowCollection.Find(System.Object)" /> method to return the specific <see cref="T:System.Data.DataRow" /> object that has the value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value that indicates whether the primary key of any row in the collection contains the specified value.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the collection contains a <see cref="T:System.Data.DataRow" /> with the specified primary key value; otherwise, false.</para></returns><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The value of the primary key to test for. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Contains"><MemberSignature Language="C#" Value="public bool Contains (object[] keys);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="keys" Type="System.Object[]" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To use the <see cref="M:System.Data.DataRowCollection.Contains(System.Object)" /> method with an array of values, the <see cref="T:System.Data.DataTable" /> object to which the <see cref="T:System.Data.DataRowCollection" /> object belongs must have an array of columns designated as primary keys. See the <see cref="P:System.Data.DataTable.PrimaryKey" /> property for more information about how to create an array of primary key columns. The number of array elements must correspond to the number of primary key columns in the <see cref="T:System.Data.DataTable" />.</para><para>As soon as you have determined that a row contains the specified value, use the <see cref="M:System.Data.DataRowCollection.Find(System.Object)" /> method to return the specific <see cref="T:System.Data.DataRow" /> object that has the value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value that indicates whether the primary key columns of any row in the collection contain the values specified in the object array.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the <see cref="T:System.Data.DataRowCollection" /> contains a <see cref="T:System.Data.DataRow" /> with the specified key values; otherwise, false.</para></returns><param name="keys"><attribution license="cc4" from="Microsoft" modified="false" />An array of primary key values to test for. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CopyTo"><MemberSignature Language="C#" Value="public override void CopyTo (Array array, int index);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="array" Type="System.Array" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><param name="array">To be added.</param><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies all the <see cref="T:System.Data.DataRow" /> objects from the collection into the given array, starting at the given destination array index.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in the array at which copying begins.</param></Docs></Member><Member MemberName="CopyTo"><MemberSignature Language="C#" Value="public void CopyTo (System.Data.DataRow[] array, int index);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="array" Type="System.Data.DataRow[]" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies all the <see cref="T:System.Data.DataRow" /> objects from the collection into the given array, starting at the given destination array index.</para></summary><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional array that is the destination of the elements copied from the DataRowCollection. The array must have zero-based indexing.</param><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in the array at which copying begins.</param></Docs></Member><Member MemberName="Count"><MemberSignature Language="C#" Value="public override int Count { get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the total number of <see cref="T:System.Data.DataRow" /> objects in this collection.</para></summary></Docs></Member><Member MemberName="Find"><MemberSignature Language="C#" Value="public System.Data.DataRow Find (object key);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Data.DataRow</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To use the Find method, the <see cref="T:System.Data.DataTable" /> object to which the <see cref="T:System.Data.DataRowCollection" /> object belongs must have at least one column designated as a primary key column. See the <see cref="P:System.Data.DataTable.PrimaryKey" /> property for more information about how to create a primary key column.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the row specified by the primary key value.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.Data.DataRow" /> that contains the primary key value specified; otherwise a null value if the primary key value does not exist in the <see cref="T:System.Data.DataRowCollection" />.</para></returns><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The primary key value of the <see cref="T:System.Data.DataRow" /> to find. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Find"><MemberSignature Language="C#" Value="public System.Data.DataRow Find (object[] keys);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Data.DataRow</ReturnType></ReturnValue><Parameters><Parameter Name="keys" Type="System.Object[]" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To use the <see cref="M:System.Data.DataRowCollection.Find(System.Object)" /> method, the <see cref="T:System.Data.DataTable" /> object to which the <see cref="T:System.Data.DataRowCollection" /> object belongs must have at least one column designated as a primary key column. When two or more rows have the same primary key value, then the first row found is returned. This occurs when <see cref="P:System.Data.DataSet.EnforceConstraints" /> is set to false. See the <see cref="P:System.Data.DataTable.PrimaryKey" /> property for more information about how to create a <see cref="P:System.Data.DataTable.PrimaryKey" /> column, or an array of <see cref="T:System.Data.DataColumn" /> objects when the table has more than one primary key.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the row that contains the specified primary key values.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.Data.DataRow" /> object that contains the primary key values specified; otherwise a null value if the primary key value does not exist in the <see cref="T:System.Data.DataRowCollection" />.</para></returns><param name="keys"><attribution license="cc4" from="Microsoft" modified="false" />An array of primary key values to find. The type of the array is Object. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GetEnumerator"><MemberSignature Language="C#" Value="public override System.Collections.IEnumerator GetEnumerator ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IEnumerator</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets an <see cref="T:System.Collections.IEnumerator" /> for this collection.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IEnumerator" /> for this collection.</para></returns></Docs></Member><Member MemberName="IndexOf"><MemberSignature Language="C#" Value="public int IndexOf (System.Data.DataRow row);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="row" Type="System.Data.DataRow" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the index of the specified <see cref="T:System.Data.DataRow" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the row, or -1 if the row is not found in the collection.</para></returns><param name="row"><attribution license="cc4" from="Microsoft" modified="false" />The DataRow to search for.</param></Docs></Member><Member MemberName="InsertAt"><MemberSignature Language="C#" Value="public void InsertAt (System.Data.DataRow row, int pos);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="row" Type="System.Data.DataRow" /><Parameter Name="pos" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The location specified by <see cref="M:System.Data.DataRowCollection.InsertAt(System.Data.DataRow,System.Int32)" /> is reflected by the order of rows in the <see cref="T:System.Data.DataRowCollection" /> only. If more than one row is returned in a <see cref="T:System.Data.DataRow" /> array, the inserted row may not be returned in the location specified by <see cref="M:System.Data.DataRowCollection.InsertAt(System.Data.DataRow,System.Int32)" />. For example, the <see cref="P:System.Data.DataTable.Rows" /> property returns the row in the specified insert position. <see cref="M:System.Data.DataTable.Select" /> and <see cref="M:System.Data.DataRow.GetChildRows(System.String)" /> may not. When you write the contents of the <see cref="T:System.Data.DataRowCollection" /> as XML, for example, <see cref="M:System.Data.DataSet.WriteXml(System.IO.Stream)" />, the rows are written according to the order specified by the <see cref="T:System.Data.DataRowCollection" />.</para><para>If the value specified for the <paramref name="pos" /> parameter is greater than the number of rows in the collection, the new row is added to the end.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Inserts a new row into the collection at the specified location.</para></summary><param name="row"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataRow" /> to add. </param><param name="pos"><attribution license="cc4" from="Microsoft" modified="false" />The (zero-based) location in the collection where you want to add the DataRow. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Item"><MemberSignature Language="C#" Value="public System.Data.DataRow this[int index] { get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Data.DataRow</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><param name="index">To be added.</param><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="List"><MemberSignature Language="C#" Value="protected virtual System.Collections.ArrayList List { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Collections.ArrayList</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'Collections.ArrayList'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a new System.Data.DataRowCollection.DataRowTree object.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Remove"><MemberSignature Language="C#" Value="public void Remove (System.Data.DataRow row);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="row" Type="System.Data.DataRow" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When a row is removed, all data in that row is lost. You can also call the <see cref="M:System.Data.DataRow.Delete" /> method of the <see cref="T:System.Data.DataRow" /> class to just mark a row for removal. Calling Remove is the same as calling <see cref="M:System.Data.DataRow.Delete" /> and then calling <see cref="M:System.Data.DataRow.AcceptChanges" />.</para><para><see cref="M:System.Data.DataRowCollection.Remove(System.Data.DataRow)" /> should not be called in a foreach loop while iterating through a <see cref="T:System.Data.DataRowCollection" /> object. <see cref="M:System.Data.DataRowCollection.Remove(System.Data.DataRow)" /> modifies the state of the collection.</para><para>You can also use the <see cref="M:System.Data.DataRowCollection.Clear" /> method to remove all members of the collection at one time.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the specified <see cref="T:System.Data.DataRow" /> from the collection.</para></summary><param name="row"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataRow" /> to remove. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="RemoveAt"><MemberSignature Language="C#" Value="public void RemoveAt (int index);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When a row is removed, all data in that row is lost. You can also call the <see cref="M:System.Data.DataRow.Delete" /> method of the <see cref="T:System.Data.DataRow" /> class to just mark a row for removal. Calling RemoveAt is the same as calling <see cref="M:System.Data.DataRow.Delete" /> and then calling <see cref="M:System.Data.DataRow.AcceptChanges" />.</para><para>You can use the <see cref="M:System.Data.DataRowCollection.Clear" /> method to remove all members of the collection at one time.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the row at the specified index from the collection.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The index of the row to remove. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>