Gets the byte[] for a string in the charset of 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 byte[] GetBytes(
Object program,
string aString
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<CLSCompliantAttribute(false)>
Public Function GetBytes (
program As Object,
aString As String
) As Byte()
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[CLSCompliantAttribute(false)]
virtual array<unsigned char>^ GetBytes(
Object^ program,
String^ aString
) sealed
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<CLSCompliantAttribute(false)>]
abstract GetBytes :
program : Object *
aString : string -> byte[]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<CLSCompliantAttribute(false)>]
override GetBytes :
program : Object *
aString : string -> byte[]
Parameters
- program
- Type: SystemObject
- aString
- Type: SystemString
Return Value
Type:
ByteImplements
IRunUnitGetBytes(Object, String)
byte[] rawBytes = myRunUnit.GetBytes(myRunUnit.GetInstance(typeof(Program1), true), "MyBytes");
Dim rawBytes = myRunUnit.GetBytes(myRunUnit.GetInstance(GetType(Program1), True), "MyBytes")
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