Share via


ServiceCollection.Item[Int32] Property

Definition

Gets or sets the element at the specified index.

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

Parameters

index
Int32

The zero-based index of the element to get or set.

Property Value

The element at the specified index.

Implements

Applies to