GetEnumerator Method
Retrives an enumerator that can be used to enumerate all of the services that this service collection publishes.
Namespace: Microsoft.Data.Tools.Design.Core.Context
Assembly: Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)
Syntax
'Declaration
Public MustOverride Function GetEnumerator As IEnumerator(Of Type)
'Usage
Dim instance As ServiceCollection
Dim returnValue As IEnumerator(Of Type)
returnValue = instance.GetEnumerator()
public abstract IEnumerator<Type> GetEnumerator()
public:
virtual IEnumerator<Type^>^ GetEnumerator() abstract
abstract GetEnumerator : unit -> IEnumerator<Type>
public abstract function GetEnumerator() : IEnumerator<Type>
Return Value
Type: System.Collections.Generic..::..IEnumerator< (Of < ( <'Type> ) > ) >
An enumeration of published services.
Implements
IEnumerable< (Of < ( <'T> ) > ) >..::..GetEnumerator() () () ()