ServiceCollection.GetEnumerator Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
An enumerator that can be used to iterate through the collection.
Producto | Versiones |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: