Partajați prin


ServiceCollection.GetEnumerator Method

Definition

Returns an enumerator that iterates through the collection.

public:
 virtual System::Collections::Generic::IEnumerator<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<Microsoft.Extensions.DependencyInjection.ServiceDescriptor> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>
Public Function GetEnumerator () As IEnumerator(Of ServiceDescriptor)

Returns

An enumerator that can be used to iterate through the collection.

Implements

Applies to