Method GetOperand
GetOperand<T>(int)
Gets an operand by index as a specific type
public T? GetOperand<T>(int index) where T : IrMetadata
Parameters
indexintIndex of the operand
Returns
- T
Operand
Type Parameters
TType 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