.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

Interface IParseRecordEvent

Parse record event information.

Inherited Members
IRecordEvent.RecordIndex
IRecordEvent.HostRecordIndex
IRecordEvent.IsRecordStateObject(string)
IRecordEvent.GetRecordStateObject(string)
IRecordEvent.SetRecordStateObject(string, object)
IRecordSetEvent.RecordSetName
IRecordSetEvent.PageNumber
IRecordSetEvent.RecordSetContext
IRecordSetEvent.RecordSetMetaData
IEntityEvent.EntityName
IEntityEvent.TabStops
IHostSessionEvent.HostSession
IModelEvent.CurrentOperation
IModelEvent.CurrentProcedure
IModelEvent.ModelContext
IModelEvent.ClientSession
IEvent.Logger
IEvent.CheckForTimeout()
IEvent.EventStack
IEvent.GetHandlerProperty(string)
IEvent.IsDesignEnvironment()
IEvent.CreateUserErrorMessage(string)
IEvent.CreateErrorMessage(int)
IEvent.CreateErrorMessage(int, object[])
Namespace: Attachmate.Verastream.HostIntegrator.ScriptAPI
Assembly: Attachmate.Verastream.HostIntegrator.ScriptAPI.dll
Syntax
public interface IParseRecordEvent : IRecordEvent, IRecordSetEvent, IEntityEvent, IHostSessionEvent, IModelEvent, IEvent
Remarks

Parse record event information. See ParseRecord(IParseRecordEvent)

Properties

RecordRegion

Gets the rectangular region which describes the contents of the record.

Declaration
IRectangularTerminalRegion RecordRegion { get; }
Property Value
Type Description
IRectangularTerminalRegion

The contents of the record.

Remarks

Note that this region will always have an offset of zero since it does not necessarily represent a contiguous region on the screen. In fact when a record is split across screens, a portion of the region will not be on the current screen.

Methods

CreateFieldLocation(int, int)

Creates a field location using linear coordinates.

Declaration
IFieldLocation CreateFieldLocation(int offset, int length)
Parameters
Type Name Description
int offset

The zero-based offset from the start of the record

int length

The length of the field.

Returns
Type Description
IFieldLocation

A IFieldLocation object describing the field's location.

Exceptions
Type Condition
ApptrieveException

Thrown if the offset or length is invalid.

DefaultParseRecord()

Gets the default field locations as defined by the model.

Declaration
IDictionary<string, IFieldLocation> DefaultParseRecord()
Returns
Type Description
IDictionary<string, IFieldLocation>

A dictionary of field names to IFieldLocation objects.

Remarks

Gets the default field locations as defined by the model. The contents of the returned map can be modified and used as the event's return value.

In This Article
Back to top © 1985-2024 Rocket Software, Inc. or its affiliates. All Rights Reserved