Język

ServiceCollection.Item[Int32] Właściwość

Definicja

Pobiera lub ustawia element w określonym indeksie.

public:
 property Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^ default[int] { Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^ get(int index); void set(int index, Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^ value); };
public Microsoft.Extensions.DependencyInjection.ServiceDescriptor this[int index] { get; set; }
member this.Item(int) : Microsoft.Extensions.DependencyInjection.ServiceDescriptor with get, set
Default Public Property Item(index As Integer) As ServiceDescriptor

Parametry

index
Int32

Indeks zerowy elementu do pobrania lub ustawienia.

Wartość właściwości

Element w określonym indeksie.

Implementuje

Dotyczy