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

A class that represents a VHI WriteVariableToLocation command.

Inheritance
object
Command
WriteVariableToLocation
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 WriteVariableToLocation : Command

Constructors

WriteVariableToLocation(string, int, int, int, bool, EchoType)

Constructs a new WriteVarToLocation command.

Declaration
public WriteVariableToLocation(string variable, int row, int column, int maxLength, bool erase, EchoType waitForEcho)
Parameters
Type Name Description
string variable

name variable containing value to be written

int row

the row of the location to be written to

int column

the starting column of the location to be written to

int maxLength

the maximum number of characters to write

bool erase

if true and if the length 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>)
WriteVariableToLocation(string, int, int, int, bool, EchoType)

Properties

Column

Gets the column.

Declaration
public virtual int Column { get; }
Property Value
Type Description
int

the starting column of the location to be written to

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

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>)
WriteVariableToLocation(string, int, int, 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>)
WriteVariableToLocation(string, int, int, 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>)
WriteVariableToLocation(string, int, int, int, bool, EchoType)

Row

Gets the row.

Declaration
public virtual int Row { get; }
Property Value
Type Description
int

the row of the location to be written to

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

See Also

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