OrderedCollection<T>.IEnumerable<IMetadataObject>.GetEnumerator Method

Returns an enumerator that can iterate through the collection.

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

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of IMetadataObject)
    Implements IEnumerable(Of IMetadataObject).GetEnumerator
'Usage
Dim instance As OrderedCollection 
Dim returnValue As IEnumerator(Of IMetadataObject)

returnValue = CType(instance, IEnumerable(Of IMetadataObject)).GetEnumerator()
IEnumerator<IMetadataObject> IEnumerable<IMetadataObject>.GetEnumerator()
private:
virtual IEnumerator<IMetadataObject^>^ GetEnumerator() sealed = IEnumerable<IMetadataObject^>::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator<IMetadataObject> 
private override GetEnumerator : unit -> IEnumerator<IMetadataObject> 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Collections.Generic.IEnumerator<IMetadataObject>
An IEnumerator object.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

OrderedCollection<T> Class

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace