DatePartCollection Class

 

Represents a collection of IDatePart objects.

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


public class DatePartCollection : DictionaryCollection<IDatePart>

NameDescription
System_CAPS_pubmethodDatePartCollection()

Initializes a new instance of the DatePartCollection class that has the default initial capacity.

System_CAPS_pubmethodDatePartCollection(Int32)

Initializes a new instance of the DatePartCollection class that has the specified capacity.

NameDescription
System_CAPS_pubpropertyAsMetadataObjectCollection

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

System_CAPS_pubpropertyCount

Gets the number of elements in the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubpropertyItem[String]

Gets or sets the object in the collection that has the specified name.(Inherited from DictionaryCollectionBase<T, U>.)

NameDescription
System_CAPS_pubmethodAdd(T)

Adds an object to the collection using its name as the key.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodAddRange(IEnumerable<T>)

Adds the elements in the specified collection to this collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodClear()

Removes all elements from the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodClone()

Creates an IMutableMetadataCollection<T> object that is a copy of this object, except for the elements.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodClone(Boolean)

Creates an IMutableMetadataCollection<T> object that is a copy of this object and, if specified, also copies the elements.(Inherited from DictionaryCollection<T>.)

System_CAPS_pubmethodContains(T)

Determines whether the specified element is in the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodContains(String)

Determines whether the specified element is in the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindAll(Predicate<T>)

Finds all elements in the collection that match the conditions defined by the specified predicate.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodFindAll(String)

Finds all elements in the collection that have the specified name.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(T)

Removes the specified object from the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodRemove(String)

Removes the object with the specified name from the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIMetadataCollection<IMetadataObject>.Contains(IMetadataObject)

Determines whether the collection contains the specified object.(Inherited from DictionaryCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIMetadataCollection<IMetadataObject>.Contains(String)

Determines whether the collection contains the specified element.(Inherited from DictionaryCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIMetadataCollection<IMetadataObject>.FindAll(String)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable<IMetadataObject>.GetEnumerator()

Returns an enumerator that iterates through the collection.(Inherited from DictionaryCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.(Inherited from DictionaryCollection<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.

Return to top
Show: