Files
linux-packaging-mono/mcs/class/System.Data/Documentation/en/System.Data/ConstraintCollection.xml
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

596 lines
34 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="ConstraintCollection" FullName="System.Data.ConstraintCollection">
<TypeSignature Language="C#" Maintainer="auto" Value="public sealed class ConstraintCollection : 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>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Editor("Microsoft.VSDesigner.Data.Design.ConstraintsCollectionEditor, Microsoft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.DefaultEvent("CollectionChanged")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Data.ConstraintCollection" /> is accessed through the <see cref="P:System.Data.DataTable.Constraints" /> property.</para>
<para>The <see cref="T:System.Data.ConstraintCollection" /> can contain both <see cref="T:System.Data.UniqueConstraint" /> and <see cref="T:System.Data.ForeignKeyConstraint" /> objects for the <see cref="T:System.Data.DataTable" />. A <see cref="T:System.Data.UniqueConstraint" /> object makes sure that data in a specific column is always unique to preserve the data integrity. The <see cref="T:System.Data.ForeignKeyConstraint" /> determines what will occur in related tables when data in the <see cref="T:System.Data.DataTable" /> is either updated or deleted. For example, if a row is deleted, the <see cref="T:System.Data.ForeignKeyConstraint" /> will determine whether the related rows are also deleted (a cascade), or some other course of action.</para>
<block subset="none" type="note">
<para>When you add a <see cref="T:System.Data.DataRelation" /> that creates a relationship between two tables to a <see cref="T:System.Data.DataSet" />, both a <see cref="T:System.Data.ForeignKeyConstraint" /> and a <see cref="T:System.Data.UniqueConstraint" /> are created automatically. The <see cref="T:System.Data.UniqueConstraint" /> is applied to the primary key column in the parent <see cref="T:System.Data.DataTable" />, and the constraint is added to that table's <see cref="T:System.Data.ConstraintCollection" />. The <see cref="T:System.Data.ForeignKeyConstraint" /> is applied to the primary key column and the foreign key column, and the constraint is added to the child table's <see cref="T:System.Data.ConstraintCollection" />.</para>
</block>
<para>The <see cref="T:System.Data.ConstraintCollection" /> uses standard collection methods such as <see cref="M:System.Data.ConstraintCollection.Add(System.Data.Constraint)" />, <see cref="M:System.Data.ConstraintCollection.Clear" />, and <see cref="M:System.Data.ConstraintCollection.Remove(System.Data.Constraint)" />. In addition, the <see cref="M:System.Data.ConstraintCollection.Contains(System.String)" /> method can be used to look for the existence of a particular constraint in the collection.</para>
<para>A <see cref="T:System.Data.UniqueConstraint" /> is created when a <see cref="T:System.Data.DataColumn" /> with its <see cref="P:System.Data.DataColumn.Unique" /> property set to true is added to a <see cref="T:System.Data.DataTable" /> object's <see cref="T:System.Data.DataColumnCollection" />.</para>
<para>A <see cref="T:System.Data.ForeignKeyConstraint" /> is created when a <see cref="T:System.Data.DataRelation" /> is added to a <see cref="T:System.Data.DataSet" /> object's <see cref="T:System.Data.DataRelationCollection" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a collection of constraints for a <see cref="T:System.Data.DataTable" />.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public void Add (System.Data.Constraint constraint);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constraint" Type="System.Data.Constraint" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>If the collection is successfully changed by adding or removing constraints, the <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Adds the specified <see cref="T:System.Data.Constraint" /> object to the collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A new <see cref="T:System.Data.UniqueConstraint" /> or <see cref="T:System.Data.ForeignKeyConstraint" />.</para>
</returns>
<param name="constraint">
<attribution license="cc4" from="Microsoft" modified="false" />The Constraint 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.Constraint Add (string name, System.Data.DataColumn column, bool primaryKey);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Data.Constraint</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="column" Type="System.Data.DataColumn" />
<Parameter Name="primaryKey" Type="System.Boolean" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs if the constraint is added successfully.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Constructs a new <see cref="T:System.Data.UniqueConstraint" /> with the specified name, <see cref="T:System.Data.DataColumn" />, and value that indicates whether the column is a primary key, and adds it to the collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A new UniqueConstraint.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the UniqueConstraint. </param>
<param name="column">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataColumn" /> to which the constraint applies. </param>
<param name="primaryKey">
<attribution license="cc4" from="Microsoft" modified="false" />Specifies whether the column should be the primary key. If true, the column will be a primary key column. </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.Constraint Add (string name, System.Data.DataColumn primaryKeyColumn, System.Data.DataColumn foreignKeyColumn);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Data.Constraint</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="primaryKeyColumn" Type="System.Data.DataColumn" />
<Parameter Name="foreignKeyColumn" Type="System.Data.DataColumn" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs if the constraint is added successfully.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Constructs a new <see cref="T:System.Data.ForeignKeyConstraint" /> with the specified name, parent column, and child column, and adds the constraint to the collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A new ForeignKeyConstraint.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Data.ForeignKeyConstraint" />. </param>
<param name="primaryKeyColumn">
<attribution license="cc4" from="Microsoft" modified="false" />The primary key, or parent, <see cref="T:System.Data.DataColumn" />. </param>
<param name="foreignKeyColumn">
<attribution license="cc4" from="Microsoft" modified="false" />The foreign key, or child, <see cref="T:System.Data.DataColumn" />. </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.Constraint Add (string name, System.Data.DataColumn[] columns, bool primaryKey);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Data.Constraint</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="columns" Type="System.Data.DataColumn[]" />
<Parameter Name="primaryKey" Type="System.Boolean" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs if the constraint is added successfully.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Constructs a new <see cref="T:System.Data.UniqueConstraint" /> with the specified name, array of <see cref="T:System.Data.DataColumn" /> objects, and value that indicates whether the column is a primary key, and adds it to the collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A new UniqueConstraint.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Data.UniqueConstraint" />. </param>
<param name="columns">
<attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Data.DataColumn" /> objects to which the constraint applies. </param>
<param name="primaryKey">
<attribution license="cc4" from="Microsoft" modified="false" />Specifies whether the column should be the primary key. If true, the column will be a primary key column.</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.Constraint Add (string name, System.Data.DataColumn[] primaryKeyColumns, System.Data.DataColumn[] foreignKeyColumns);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Data.Constraint</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="primaryKeyColumns" Type="System.Data.DataColumn[]" />
<Parameter Name="foreignKeyColumns" Type="System.Data.DataColumn[]" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs if the constraint is added successfully.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Constructs a new <see cref="T:System.Data.ForeignKeyConstraint" />, with the specified arrays of parent columns and child columns, and adds the constraint to the collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A new ForeignKeyConstraint.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Data.ForeignKeyConstraint" />. </param>
<param name="primaryKeyColumns">
<attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Data.DataColumn" /> objects that are the primary key, or parent, columns. </param>
<param name="foreignKeyColumns">
<attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Data.DataColumn" /> objects that are the foreign key, or child, columns. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="C#" Value="public void AddRange (System.Data.Constraint[] constraints);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constraints" Type="System.Data.Constraint[]" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>If <see cref="M:System.Data.DataTable.BeginInit" /> has been called, AddRange does not add any objects to the collection until <see cref="M:System.Data.DataTable.EndInit" /> is called. At the time that EndInit is called, the collection will be populated with the items specified in the most recent call to AddRange. If AddRange is called multiple times within a BeginInit / EndInit sequence, only those items specified in the most recent call to AddRange are added.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Copies the elements of the specified <see cref="T:System.Data.ConstraintCollection" /> array to the end of the collection.</para>
</summary>
<param name="constraints">
<attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Data.ConstraintCollection" /> objects to add to the collection. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CanRemove">
<MemberSignature Language="C#" Value="public bool CanRemove (System.Data.Constraint constraint);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constraint" Type="System.Data.Constraint" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The default behavior whenever a <see cref="T:System.Data.DataRelation" /> is added to a <see cref="T:System.Data.DataSet" />, is to add a <see cref="T:System.Data.ForeignKeyConstraint" /> to the parent table and a <see cref="T:System.Data.UniqueConstraint" /> to the child table. The <see cref="T:System.Data.UniqueConstraint" /> is applied to the primary key column of the parent table, and the <see cref="T:System.Data.ForeignKeyConstraint" /> is applied to the foreign key column of the child table. Because trying to remove the <see cref="T:System.Data.UniqueConstraint" /> before removing the <see cref="T:System.Data.ForeignKeyConstraint" /> causes an exception to be thrown, you should always use the <see cref="M:System.Data.ConstraintCollection.CanRemove(System.Data.Constraint)" /> method before calling Remove, to make sure that the <see cref="T:System.Data.UniqueConstraint" /> can be removed.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Indicates whether a <see cref="T:System.Data.Constraint" /> can be removed.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if the <see cref="T:System.Data.Constraint" /> can be removed from collection; otherwise, false.</para>
</returns>
<param name="constraint">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.Constraint" /> to be tested for removal from the collection. </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>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs if this action is successful.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Clears the collection of any <see cref="T:System.Data.Constraint" /> objects.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CollectionChanged">
<MemberSignature Language="C#" Value="public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.ComponentModel.CollectionChangeEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">Consuming Events</a></format>.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Occurs whenever the <see cref="T:System.Data.ConstraintCollection" /> is changed because of <see cref="T:System.Data.Constraint" /> objects being added or removed.</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 (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Data.ConstraintCollection.Contains(System.String)" /> method to determine whether the specified <see cref="T:System.Data.Constraint" /> exists before trying to remove it from the collection. You can also use the <see cref="M:System.Data.ConstraintCollection.CanRemove(System.Data.Constraint)" /> method to determine whether a <see cref="T:System.Data.Constraint" /> can be removed.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Indicates whether the <see cref="T:System.Data.Constraint" /> object specified by name exists in the collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if the collection contains the specified constraint; otherwise, false.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Data.Constraint.ConstraintName" /> of the constraint. </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 void CopyTo (System.Data.Constraint[] 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.Constraint[]" />
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Copies the collection objects to a one-dimensional <see cref="T:System.Array" /> instance starting at the specified index.</para>
</summary>
<param name="array">
<attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional <see cref="T:System.Array" /> that is the destination of the values copied from the collection.</param>
<param name="index">
<attribution license="cc4" from="Microsoft" modified="false" />The index of the array at which to start inserting. </param>
</Docs>
</Member>
<Member MemberName="IndexOf">
<MemberSignature Language="C#" Value="public int IndexOf (System.Data.Constraint constraint);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constraint" Type="System.Data.Constraint" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Data.ConstraintCollection.IndexOf(System.Data.Constraint)" /> method to return an index to be used with either the <see cref="M:System.Data.ConstraintCollection.Contains(System.String)" /> or <see cref="M:System.Data.ConstraintCollection.Remove(System.Data.Constraint)" /> method.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the index of the specified <see cref="T:System.Data.Constraint" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The zero-based index of the <see cref="T:System.Data.Constraint" /> if it is in the collection; otherwise, -1.</para>
</returns>
<param name="constraint">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.Constraint" /> to search for. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="IndexOf">
<MemberSignature Language="C#" Value="public int IndexOf (string constraintName);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constraintName" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Data.ConstraintCollection.IndexOf(System.Data.Constraint)" /> method to return an index to be used with either the <see cref="M:System.Data.ConstraintCollection.Contains(System.String)" /> or <see cref="M:System.Data.ConstraintCollection.Remove(System.Data.Constraint)" /> method.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the index of the <see cref="T:System.Data.Constraint" /> specified by name.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The index of the <see cref="T:System.Data.Constraint" /> if it is in the collection; otherwise, -1.</para>
</returns>
<param name="constraintName">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Data.Constraint" />. </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.Constraint 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.Constraint</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="Item">
<MemberSignature Language="C#" Value="public System.Data.Constraint this[string name] { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.Constraint</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">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 override 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>Gets the list of objects that the collection contains.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="OnCollectionChanged">
<MemberSignature Language="C#" Value="protected virtual void OnCollectionChanged (System.ComponentModel.CollectionChangeEventArgs ccevent);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="ccevent" Type="System.ComponentModel.CollectionChangeEventArgs" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Raises the <see cref="System.Data.ConstraintCollection.CollectionChanged" /> event.</para>
</summary>
<param name="ccevent">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="System.ComponentModel.CollectionChangeEventArgs" /> expression.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (System.Data.Constraint constraint);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constraint" Type="System.Data.Constraint" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Before using the Remove method, you can use the <see cref="M:System.Data.ConstraintCollection.Contains(System.String)" /> method to determine whether the collection contains the target <see cref="T:System.Data.Constraint" />, and the <see cref="M:System.Data.ConstraintCollection.CanRemove(System.Data.Constraint)" /> method to determine whether a <see cref="T:System.Data.Constraint" /> can be removed.</para>
<para>The <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs if the constraint is successfully removed.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Removes the specified <see cref="T:System.Data.Constraint" /> from the collection.</para>
</summary>
<param name="constraint">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.Constraint" /> to remove. </param>
</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 (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Before using the Remove method, you can use the <see cref="M:System.Data.ConstraintCollection.Contains(System.String)" /> method to determine whether the collection contains the target <see cref="T:System.Data.Constraint" />, and the <see cref="M:System.Data.ConstraintCollection.CanRemove(System.Data.Constraint)" /> method to determine whether a <see cref="T:System.Data.Constraint" /> can be removed.</para>
<para>The <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs if the constraint is successfully removed.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Removes the <see cref="T:System.Data.Constraint" /> object specified by name from the collection.</para>
</summary>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Data.Constraint" /> 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>The <see cref="M:System.Data.ConstraintCollection.IndexOf(System.Data.Constraint)" /> method returns the index of a specific <see cref="T:System.Data.Constraint" />.</para>
<para>Before using the RemoveAt method, you can use the <see cref="M:System.Data.ConstraintCollection.Contains(System.String)" /> method to determine whether the collection contains the target <see cref="T:System.Data.Constraint" />, and the <see cref="M:System.Data.ConstraintCollection.CanRemove(System.Data.Constraint)" /> method to determine whether a <see cref="T:System.Data.Constraint" /> can be removed.</para>
<para>The <see cref="E:System.Data.ConstraintCollection.CollectionChanged" /> event occurs if the constraint is successfully removed.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Removes the <see cref="T:System.Data.Constraint" /> object at the specified index from the collection.</para>
</summary>
<param name="index">
<attribution license="cc4" from="Microsoft" modified="false" />The index of the <see cref="T:System.Data.Constraint" /> to remove. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>