InitialSessionStateEntryCollection<T>.Item[] Property
Definition
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.
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
Collection<T>