Jazz Soft has been moved from Japan to New York in 2024.
Swing SECS II 详细资料
Properties Appearance Array BlockNumber BorderStyle DeviceID EBit Function List Msg Pointer PType RBit SessionID Show SourceID Stream SType SystemBytes TransactionID Type Value ValueHex WBit Methods Add Init Reply Events
ValueHex Property
This property indicates node value as hexadecimal.
Syntax
Return Value
Example
Remarks
If node is array, the result is separated by space code.
Visual Basic
.List = "{<u2 0x10 0x20 0x30 0x40>}" Dim strResult As String .Pointer = "1" strResult = .ValueHex ' "0010 0020 0030 0040"
Visual C++
m_msg.SetList("{<u2 0x10 0x20 0x30 0x40>}"); m_msg.SetPointer("1"); CString strBuf=m_msg.GetValueHex(); // "0010 0020 0030 0040"
If you want to extract one of array, use bracket. Index of array begins with 0.
.List = "{<u2 0x10 0x20 0x30 0x40>}" Dim strResult As String .Pointer = "1[2]" strResult = .ValueHex ' "0030"
m_msg.SetList("{<u2 0x10 0x20 0x30 0x40>}"); m_msg.SetPointer("1[2]"); CString strBuf=m_msg.GetValueHex(); // "0030"
This property is read only. You can not set value.
See Also