.NET ScriptAPI Method Reference

.NET ScriptAPI Method Reference

Show / Hide Table of Contents
  • Attachmate.Verastream.HostIntegrator.ScriptAPI
    • AppConnAidKey
    • ApptrieveException
    • AttributeEventHandler
    • ColumnType
    • ColumnValue
    • ContextType
    • CursorPosition
    • DescriptionAttribute
    • EchoType
    • EntityEventHandler
    • ErrorMessage
    • EventHandlerConstant
    • EventHandlerType
    • EventInfo
    • EventTimeoutException
    • FieldEventHandler
    • HostColor
    • HostFont
    • IApplyFilterEvent
    • IAttributeEvent
    • IAttributeMetaData
    • IAuthenticateUserEvent
    • IClientConnectedEvent
    • IClientDisconnectedEvent
    • IClientSession
    • IClientSessionCreatedEvent
    • IClientSessionDestroyedEvent
    • IColumnMetaData
    • IEntityArrivalEvent
    • IEntityDepartureEvent
    • IEntityEvent
    • IEntityMoveCursorEvent
    • IErrorReportedEvent
    • IEvent
    • IEventHandler
    • IExecuteLoginEvent
    • IExecuteLogoutEvent
    • IExecuteOperationEvent
    • IExecuteProcedureEvent
    • IFieldEvent
    • IFieldLocation
    • IFieldMetaData
    • IFormatErrorEvent
    • IGetCurrentHostRecordEvent
    • IGetRecordTypeEvent
    • IHostSession
    • IHostSessionCreatedEvent
    • IHostSessionDestroyedEvent
    • IHostSessionEvent
    • IInsertRecordEvent
    • IIsTerminatedEvent
    • ILifeCycleEvent
    • ILinearTerminalRegion
    • ILogger
    • IMetaData
    • IModelContext
    • IModelCursorEvent
    • IModelEvent
    • IModelLoadedEvent
    • IModelMoveCursorBackwardEvent
    • IModelMoveCursorEvent
    • IModelMoveCursorForwardEvent
    • IModelRecord
    • IModelRecordSet
    • IModelUnloadedEvent
    • IMutableProcedureRecord
    • IMutableProcedureRecordSet
    • IOperationMetaData
    • IParseRecordEvent
    • IParseScreenEvent
    • IProcedureMetaData
    • IProcedureParameters
    • IProcedureRecord
    • IProcedureRecordSet
    • IProcessStringEvent
    • IReadAttributeEvent
    • IReadFieldEvent
    • IRecord
    • IRecordEvent
    • IRecordLocation
    • IRecordSet
    • IRecordSetContext
    • IRecordSetEvent
    • IRecordSetMetaData
    • IRecordSetScreen
    • IRectangularTerminalRegion
    • IScriptHostSession
    • ITerminalAttributes
    • ITerminalCell
    • ITerminalRegion
    • IUnrecognizedScreenEvent
    • IUpdateRecordEvent
    • IVariableMetaData
    • IWriteAttributeEvent
    • IWriteAttributesEvent
    • IWriteFieldEvent
    • IndexValue
    • LifeCycleEventHandler
    • MetaDataType
    • ModelEventHandler
    • OperationEventHandler
    • ProcedureEventHandler
    • ProcedureType
    • RecordSetEventHandler
    • RecordType
    • RegionType
    • RowValue
    • ScreenSize
    • ScrollDirection
    • ScrollMovement
    • TimeoutAttribute
    • VariableInitialization
    • VariableKind
  • Attachmate.Verastream.HostIntegrator.ScriptAPI.Command
    • CheckOperationConditions
    • Command
    • DefaultValue
    • MoveCursor
    • Navigate
    • ReadFromMappedAttribute
    • ReadVariableFromAttribute
    • ReadVariableFromField
    • ReadVariableFromLocation
    • ReadVariableFromTerminal
    • ResetRecordSet
    • Transmit
    • TransmitTerminalKey
    • TransmitToAttribute
    • TransmitToField
    • TransmitToLocation
    • TransmitToOffset
    • UpdateAttribute
    • UpdateAttributes
    • UpdateRecordSetField
    • UpdateRecordSetFields
    • WaitForCommString
    • WaitForCondition
    • WaitForCursorAtAttribute
    • WaitForCursorAtLocation
    • WaitForCursorAtRecordSetField
    • WaitForCursorAtTerminalField
    • WaitForCursorNotAtLocation
    • WaitForCursorNotAtTerminalField
    • WaitForDisplayString
    • WaitForHostSilence
    • WaitForKeyboardEnabled
    • WaitForMultipleEvents
    • WaitForNewHostScreen
    • WaitForUpdate
    • WaitMS
    • WriteToMappedAttribute
    • WriteVariableToAttribute
    • WriteVariableToField
    • WriteVariableToLocation
    • WriteVariableToTerminal
  • WRQ.Verastream.HostIntegrator
    • RcConst

Class WriteVariableToTerminal

A class that represents a VHI WriteVariableToTerminal command.

Inheritance
object
Command
WriteVariableToTerminal
Inherited Members
Command.isValidEchoType(int)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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 true and if the maxLength of the string contained in variable is less than maxLength, pad the value written with spaces until maxLength characters have been written.

EchoType waitForEcho

type of wait for echo to perform. See WriteVariableToTerminal(string, int, bool, EchoType) for values.

See Also
ExecuteCommandList(IList<Command>)
WriteVariableToTerminal(string, int, bool, EchoType)

Properties

Erase

Gets the erase flag.

Declaration
public virtual bool Erase { get; }
Property Value
Type Description
bool

if true and if the maxLength of the string contained in variable is less than maxLength, pad the value written with spaces until maxLength characters have been written.

See Also
ExecuteCommandList(IList<Command>)
WriteVariableToTerminal(string, int, bool, EchoType)

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
ExecuteCommandList(IList<Command>)
WriteVariableToTerminal(string, int, bool, EchoType)

Name

Gets the command name.

Declaration
public override string Name { get; }
Property Value
Type Description
string

the command name

Overrides
Command.Name
See Also
ExecuteCommandList(IList<Command>)
WriteVariableToTerminal(string, int, bool, EchoType)

Variable

Gets the variable name.

Declaration
public virtual string Variable { get; }
Property Value
Type Description
string

name of variable to be read

See Also
ExecuteCommandList(IList<Command>)
WriteVariableToTerminal(string, int, bool, EchoType)

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).

See Also
ExecuteCommandList(IList<Command>)
WriteVariableToTerminal(string, int, bool, EchoType)

See Also

ExecuteCommandList(IList<Command>)
WriteVariableToTerminal(string, int, bool, EchoType)
In This Article
Back to top © 1985-2024 Rocket Software, Inc. or its affiliates. All Rights Reserved