Class WriteVariableToTerminal
A class that represents a VHI WriteVariableToTerminal command.
Inherited Members
Namespace: Attachmate.Verastream.HostIntegrator.ScriptAPI.Command
Assembly: Attachmate.Verastream.HostIntegrator.ScriptAPI.dll
Syntax
[Serializable]
public class WriteVariableToTerminal : Command
Constructors
WriteVariableToTerminal(string, int, bool, EchoType)
Constructs a new WriteVarToTerminal command.
Declaration
public WriteVariableToTerminal(string variable, int maxLength, bool erase, EchoType waitForEcho)
Parameters
Type | Name | Description |
---|---|---|
string | variable | name of variable to be read. |
int | maxLength | the maximum number of characters to write |
bool | erase | if |
EchoType | waitForEcho | type of wait for echo to perform. See WriteVariableToTerminal(string, int, bool, EchoType) for values. |
See Also
Properties
Erase
Gets the erase flag.
Declaration
public virtual bool Erase { get; }
Property Value
Type | Description |
---|---|
bool | if |
See Also
MaxLength
Gets the max length.
Declaration
public virtual int MaxLength { get; }
Property Value
Type | Description |
---|---|
int | the maximum number of characters to write |
See Also
Name
Gets the command name.
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
string | the command name |
Overrides
See Also
Variable
Gets the variable name.
Declaration
public virtual string Variable { get; }
Property Value
Type | Description |
---|---|
string | name of variable to be read |
See Also
WaitForEcho
Gets the wait for echo mode.
Declaration
public virtual EchoType WaitForEcho { get; }
Property Value
Type | Description |
---|---|
EchoType | type of wait for echo to perform. See Transmit(string, EchoType). |