Compartir a través de


InitialSessionStateEntryCollection<T>.Item[] Property

Definition

Overloads

Item[Int32]
Item[String]

To find the entries based on name. Why collection - Different SnapIn/modules and same entity names. If used on command collection entry, then for the same name, one can have multiple output.

Item[Int32]

public:
 property T default[int] { T get(int index); };
public T this[int index] { get; }
member this.Item(int) : 'T
Default Public ReadOnly Property Item(index As Integer) As T

Parameters

index
Int32

Property Value

T

Applies to

Item[String]

To find the entries based on name. Why collection - Different SnapIn/modules and same entity names. If used on command collection entry, then for the same name, one can have multiple output.

public:
 property System::Collections::ObjectModel::Collection<T> ^ default[System::String ^] { System::Collections::ObjectModel::Collection<T> ^ get(System::String ^ name); };
public System.Collections.ObjectModel.Collection<T> this[string name] { get; }
member this.Item(string) : System.Collections.ObjectModel.Collection<'T (requires 'T :> System.Management.Automation.Runspaces.InitialSessionStateEntry)>
Default Public ReadOnly Property Item(name As String) As Collection(Of T)

Parameters

name
String

Property Value

Applies to