TechNet
Export (0) Print
Expand All

IMutableMetadataCollection<T> Interface

 

Defines methods to manipulate collections of objects that implement the IMetadataObject interface.

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

[DefaultMemberAttribute("Item")]
public interface IMutableMetadataCollection<T> : IMetadataCollection<T>, 
	IEnumerable<T>, IEnumerable
where T : IMetadataObject

Type Parameters

T

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

NameDescription
System_CAPS_pubpropertyAsMetadataObjectCollection

Gets an IMetadataCollection<T> object that contains this collection.(Inherited from IMetadataCollection<T>.)

System_CAPS_pubpropertyCount

Gets the number of elements in the collection.(Inherited from IMetadataCollection<T>.)

System_CAPS_pubpropertyItem[String]

Gets or sets the element in the collection by name.

NameDescription
System_CAPS_pubmethodAdd(T)

Adds an element to the end of the collection.

System_CAPS_pubmethodAddRange(IEnumerable<T>)

Adds the elements in the specified collection to the end of this collection.

System_CAPS_pubmethodClear()

Removes all elements from the collection.

System_CAPS_pubmethodClone()

Creates an IMutableMetadataCollection<T> instance that is a copy of this object, except for the elements.

System_CAPS_pubmethodClone(Boolean)

Creates an IMutableMetadataCollection<T> instance that is a copy of this object and, if specified, also copies the elements.

System_CAPS_pubmethodContains(String)

Determines whether the collection contains an element that has the specified name.(Inherited from IMetadataCollection<T>.)

System_CAPS_pubmethodContains(String)

Determines whether the collection contains an element that has the specified name.(Inherited from IMetadataCollection<T>.)

System_CAPS_pubmethodFindAll(Predicate<T>)

Retrieves all elements in the collection that match the conditions defined by the specified predicate.(Inherited from IMetadataCollection<T>.)

System_CAPS_pubmethodFindAll(String)

Retrieves all elements in the collection that have the specified name.(Inherited from IMetadataCollection<T>.)

System_CAPS_pubmethodGetEnumerator()

(Inherited from IEnumerable<T>.)

System_CAPS_pubmethodRemove(T)

Removes the first occurrence of a specific object from the collection.

System_CAPS_pubmethodRemove(String)

Removes the first element that has the specified name from the collection.

Return to top
Show:
© 2016 Microsoft