Export (0) Print
Expand All

IMutableMetadataOrderedCollection<T> Interface

Represents a mutable collection of metadata objects where the element ordering is preserved.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public interface IMutableMetadataOrderedCollection<T> : IMetadataOrderedCollection<T>, 
	IMutableMetadataCollection<T>, IMetadataCollection<T>, IEnumerable<T>, IEnumerable 
where T : class, IMetadataObject

Type Parameters

T

The type of the elements in the collection, constrained to IMetadataObject.

The IMutableMetadataOrderedCollection<T> type exposes the following members.

  NameDescription
Public propertyAsMetadataObjectCollectionGets an IMetadataCollection<T> object that contains this collection. (Inherited from IMetadataCollection<T>.)
Public propertyCountGets the number of elements in the collection. (Inherited from IMetadataCollection<T>.)
Public propertyItem[Int32]Gets the element at the specified index. (Inherited from IMetadataOrderedCollection<T>.)
Public propertyItem[String]Gets or sets the element in the collection by name. (Inherited from IMutableMetadataCollection<T>.)
Top

  NameDescription
Public methodAddAdds an element to the end of the collection. (Inherited from IMutableMetadataCollection<T>.)
Public methodAddRangeAdds the elements in the specified collection to the end of this collection. (Inherited from IMutableMetadataCollection<T>.)
Public methodClearRemoves all elements from the collection. (Inherited from IMutableMetadataCollection<T>.)
Public methodClone()Creates an IMutableMetadataCollection<T> instance that is a copy of this object, except for the elements. (Inherited from IMutableMetadataCollection<T>.)
Public methodClone(Boolean)Creates an IMutableMetadataCollection<T> instance that is a copy of this object and, if specified, also copies the elements. (Inherited from IMutableMetadataCollection<T>.)
Public methodContains(String)Determines whether the collection contains an element that has the specified name. (Inherited from IMetadataCollection<T>.)
Public methodFindAll(Predicate<T>)Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Inherited from IMetadataCollection<T>.)
Public methodFindAll(String)Retrieves all elements in the collection that have the specified name. (Inherited from IMetadataCollection<T>.)
Public methodGetEnumerator (Inherited from IEnumerable<T>.)
Public methodRemove(String)Removes the first element that has the specified name from the collection. (Inherited from IMutableMetadataCollection<T>.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft