setCustomAttrEnumResource(string $nodeType, string $attrLongName, int $enumIndex, string $str)
なし
変数名 | 変数型 | 説明 |
---|---|---|
$nodeType | string | ノード タイプです。 |
$attrLongName | string | アトリビュートのロング ネームです。 |
$enumIndex | string | enum 値(0、1、2 など)に関連付けられているインデックスです。 |
$str | string | 表示文字列です。 |
// Set the attribute enum strings associated with // attribute "md" on node type "myNode". // This example shows English resource values, however this // routine would more often be called in practice to provide // localized string values. // setCustomAttrEnumResource( "myNode", "md", 0, "Disabled"); setCustomAttrEnumResource( "myNode", "md", 1, "Enabled");