/
Screen.SetString Method

Screen.SetString Method

Copies a string into a specified position on the presentation space.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public StatusCode SetString(
	int row,
	int column,
	string text
)
Visual Basic (Declaration)
Public Function SetString ( _
	row As Integer, _
	column As Integer, _
	text As String _
) As StatusCode
Visual C++
public:
virtual StatusCode SetString(
	int row, 
	int column, 
	String^ text
) sealed
JavaScript
function SetString(row, column, text);


Parameters

row
Type: System.Int32
Screen row string will be copied to.

column
Type: System.Int32
Screen column string will be copied to.

text
Type: System.String
String to copy to the screen.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
OkThe string was successfully copied.
WHLLNOTCONNECTEDYour application is not currently connected to a host session (see Connect(Object)).
WHLLPARAMETERERRORcharsToCopy has a value of zero (invalid).
WHLLINHIBITEDThe host session presentation space is protected or inhibited, or the string contains illegal data (such as a field attribute byte).
WHLLTRUNCATEDThe data string was truncated during the copy (partial copy).
WHLLPOSITIONERRORThe presentation space position is invalid.
WHLLSYSERRORThe method failed due to a system error.


Implements

IScreen.SetString(Int32, Int32, String)

See Also


Screen Class
JollyGiant.Emulation Namespace
ISession.Connect(Object)

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.


Related content

IScreen_SetString Method
IScreen_SetString Method
More like this
SetString Method
SetString Method
More like this
Screen.GetStringWithAttribs_Method
Screen.GetStringWithAttribs_Method
More like this
Screen.GetStringWithAttribs Method
Screen.GetStringWithAttribs Method
More like this
Screen.GetString Method
Screen.GetString Method
More like this
Screen.GetString_Method
Screen.GetString_Method
More like this