## Operator.GetInputValue

### Introduced

v5.1

### Description

Returns the value of a given input port.
Note: For Self-Installed Custom Operators the OperatorContext.GetInputValue method is often more convenient.

### C# Syntax

    Object Operator.GetInputValue( Object in_vPortIndexOrName, Object in_vPortGroupIndexOrName, Int32 in_lPortGroupInstance );

### Scripting Syntax

    oVariant = Operator.GetInputValue( PortIndexOrName, GroupIndexOrName, Instance );

### Return Value

Variant The value of the port.

### Parameters

Parameter | Type | Description
--- | --- | ---
PortIndexOrName | Variant | The index or name of the port.
GroupIndexOrName | Variant | The index or name of the port group.
Instance | Long | Port group instance index.

### See Also

OperatorContext.GetInputValue