Gets a string that matches the charset of the program using an index/count
             
 
    Namespace: 
   MicroFocus.COBOL.RuntimeServices
    Assembly:
   MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
 
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[CLSCompliantAttribute(false)]
public string GetString(
	Object program,
	byte[] bytes,
	int index,
	int count
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<CLSCompliantAttribute(false)>
Public Function GetString ( 
	program As Object,
	bytes As Byte(),
	index As Integer,
	count As Integer
) As String
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[CLSCompliantAttribute(false)]
virtual String^ GetString(
	Object^ program, 
	array<unsigned char>^ bytes, 
	int index, 
	int count
) sealed
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<CLSCompliantAttribute(false)>]
abstract GetString : 
        program : Object * 
        bytes : byte[] * 
        index : int * 
        count : int -> string 
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<CLSCompliantAttribute(false)>]
override GetString : 
        program : Object * 
        bytes : byte[] * 
        index : int * 
        count : int -> string Parameters
- program
- Type: SystemObject
 
- bytes
- Type: SystemByte
 
- index
- Type: SystemInt32
 
- count
- Type: SystemInt32
 
Return Value
Type: 
StringImplements
IRunUnitGetString(Object, Byte, Int32, Int32) 
 
 var x  = new Program1();
var byteArray = new byte[] { 65, 77 };
var byteString = myRunUnit.GetString(x, byteArray, 0, byteArray.Length);Dim x As Program1 = New Program1()
Dim byteArray As Byte() = New Byte() {65, 77}
Dim byteString As String = myRunUnit.GetString(x, byteArray, 0, byteArray.Length)No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
 
Reference