Item (Read Only)

Top  Previous  Next

Returns the Sessions object at the given index. "One based" indexing is used in all Ohio collections. For example, the first Session in this collection is at index 1.

 

VB.NET

 

[Session] = Sessions.Item(index As Integer)

[Session] = Sessions.Item(name As String)

 

C#

 

[Session] = Sessions.Item(int index);

[Session] = Sessions.Item(string name);

 

 

Parameters

 

Parameters

Description

index / name

The index / name of the target Session.