Gets a string that matches the charset of the program 
             
 
    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
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<CLSCompliantAttribute(false)>
Public Function GetString ( 
	program As Object,
	bytes As Byte()
) As String
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[CLSCompliantAttribute(false)]
virtual String^ GetString(
	Object^ program, 
	array<unsigned char>^ bytes
) sealed
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<CLSCompliantAttribute(false)>]
abstract GetString : 
        program : Object * 
        bytes : byte[] -> string 
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<CLSCompliantAttribute(false)>]
override GetString : 
        program : Object * 
        bytes : byte[] -> string Parameters
- program
- Type: SystemObject
 
- bytes
- Type: SystemByte
 
Return Value
Type: 
StringImplements
IRunUnitGetString(Object, Byte) 
 
var x  = new Program1();
var byteArray = new byte[] { 65, 77 };
var byteString = myRunUnit.GetString(x, byteArray);Dim x As Program1 = New Program1()
Dim byteArray As Byte() = New Byte() {65, 77}
Dim byteString As String = myRunUnit.GetString(x, byteArray)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