ForeignKeyColumnCollection Class
Represents a collection of T:Microsoft.SqlServer.Management.SqlParser.MetadataProvider.IForeignKeyColumn objects where element ordering is preserved.
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::OrderedCollectionBase<T>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::OrderedCollection<T>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::ForeignKeyColumnCollection
| Name | Description | |
|---|---|---|
![]() | ForeignKeyColumnCollection(CollationInfo^) | Creates and initializes a new instance of the ForeignKeyColumnCollection class that uses the specified CollationInfo object and the default initial capacity. |
![]() | ForeignKeyColumnCollection(Int32, CollationInfo^) | Creates and initializes a new instance of the ForeignKeyColumnCollection class that uses the specified capacity and CollationInfo object. |
| Name | Description | |
|---|---|---|
![]() | AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection.(Inherited from OrderedCollection<T>.) |
![]() | Count | Gets the number of elements in the collection.(Inherited from OrderedCollectionBase<T>.) |
![]() | Item[Int32] | Gets the element at the specified index.(Inherited from OrderedCollectionBase<T>.) |
![]() | Item[String^] | Gets or sets the element that has the specified name.(Inherited from OrderedCollectionBase<T>.) |
| Name | Description | |
|---|---|---|
![]() | Add(T) | Adds an object to the collection using its name as the key.(Inherited from OrderedCollectionBase<T>.) |
![]() | AddRange(IEnumerable<T>^) | Adds the elements of the specified collection to this collection.(Inherited from OrderedCollectionBase<T>.) |
![]() | Clear() | Removes all elements from the collection.(Inherited from OrderedCollectionBase<T>.) |
![]() | Clone() | Creates an IMutableMetadataCollection<T> instance that is a copy of this object, except for the elements.(Inherited from OrderedCollectionBase<T>.) |
![]() | Clone(Boolean) | Creates an IMutableMetadataCollection<T> instance that is a copy of this object and, if specified, also copies the elements.(Inherited from OrderedCollectionBase<T>.) |
![]() | Contains(T) | Determines whether the specified element is in the collection.(Inherited from OrderedCollectionBase<T>.) |
![]() | Contains(String^) | Determines whether the specified element is in the collection.(Inherited from OrderedCollectionBase<T>.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindAll(Predicate<T>^) | Finds all elements in the collection that match the conditions that are defined by the specified predicate.(Inherited from OrderedCollectionBase<T>.) |
![]() | FindAll(String^) | Finds all elements in the collection that have the specified name.(Inherited from OrderedCollectionBase<T>.) |
![]() | GetEnumerator() | Returns an enumerator that iterates through the collection.(Inherited from OrderedCollectionBase<T>.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(T) | Removes the specified element from the collection.(Inherited from OrderedCollectionBase<T>.) |
![]() | Remove(String^) | Removes the element that has the specified name from the collection.(Inherited from OrderedCollectionBase<T>.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IMetadataCollection<IMetadataObject^>::Contains(IMetadataObject^) | Determines whether the collection contains the specified object.(Inherited from OrderedCollection<T>.) |
![]() ![]() | IMetadataCollection<IMetadataObject^>::Contains(String^) | Determines whether the collection contains the specified element.(Inherited from OrderedCollection<T>.) |
![]() ![]() | IMetadataCollection<IMetadataObject^>::FindAll(Predicate<IMetadataObject^>^) | Retrieves all elements in the collection that match the conditions defined by the specified predicate.(Inherited from OrderedCollection<T>.) |
![]() ![]() | IMetadataCollection<IMetadataObject^>::FindAll(String^) | Retrieves all elements in the collection that have the specified name.(Inherited from OrderedCollection<T>.) |
![]() ![]() | IEnumerable<IMetadataObject^>::GetEnumerator() | Returns an enumerator that iterates through the collection.(Inherited from OrderedCollection<T>.) |
![]() ![]() | IEnumerable::GetEnumerator() | Returns an enumerator that can iterate through the collection.(Inherited from OrderedCollection<T>.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




