Method GetOperand
GetOperand<T>(int)
Gets an operand by index as a specific type
public T? GetOperand<T>(int index) where T : IrMetadata
Parameters
index
intIndex of the operand
Returns
- T
Operand
Type Parameters
T
Type of the operand
Exceptions
- InvalidCastException
When the operand is not castable to
T
- ArgumentOutOfRangeException
When the index is out of range for the operands of this node