Return a entry in the packet.
Namespace:
Bespoke.Common.OscAssembly: Bespoke.Common.Osc (in Bespoke.Common.Osc.dll) Version: 4.3.0.0 (4.3.0.0)
Syntax
C# |
---|
public T At<T>( int index ) |
Visual Basic (Declaration) |
---|
Public Function At(Of T) ( _ index As Integer _ ) As T |
Visual C++ |
---|
public: generic<typename T> T At( int index ) |
Parameters
- index
- Type: System..::.Int32
The index within the data array.
Type Parameters
- T
- The type of value expected at index.
Return Value
The entry at the specified index.Exceptions
Exception | Condition |
---|---|
System..::.IndexOutOfRangeException | Thrown if specified index is out of range. |
System..::.InvalidCastException | Thrown if the specified T is incompatible with the data at index. |