@type-descriptor.string-td

此标记描述编码为字符串的数据。

属性

下表列示了此标记的有效属性:
属性 描述 有效值
characterSize 字符串数据中字符的大小  
codepage 字符串数据的代码页  
dBCSOnly 用来指示字符串属性是否只包含 DBCS(双字节字符集)数据的指示符 您必须指定下列其中一种属性:
  • true:字符串只包含 DBCS 数据
  • false:字符串不是只包含 DBCS 数据
lengthEncoding 字符串数据的长度的编码类型 您必须指定下列其中一种属性:
  • fixedLength:字符串具有固定长度
  • lengthPrefixed:字符串的长度由字符串数据前面的数字来确定
  • nullTerminated:字符串的长度由结尾 null 字符确定
paddingCharacter 要填充至字符串数据末尾的字符  
prefixLength 字符串长度由字符串前面的数字来确定的字符串的整数前缀的大小  
stringJustification   您必须指定下列其中一种属性:
  • leftJustify
  • rightJustify
  • centerJustify
相关参考
@type-descriptor.aggregate-instance-td
@type-descriptor.aggregate-instance-td-method
@type-descriptor.array-td
@type-descriptor.array-td-type
@type-descriptor.bi-direction-string-td
@type-descriptor.type-bi-direction-string-td
@type-descriptor.binary-td
@type-descriptor.external-decimal-td
@type-descriptor.float-td
@type-descriptor.integer-td
@type-descriptor.packed-decimal-td
@type-descriptor.platform-compiler-info
@type-descriptor.simple-instance-td
@type-descriptor.child-class
@type-descriptor.depending-on
@type-descriptor.depending-on-control
@type-descriptor.initial-value
@type-descriptor.level88
@type-descriptor.message-buffer
@type-descriptor.multiple-output
@type-descriptor.recognition-desc
@type-descriptor.restriction
使用条款 | 反馈
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.