StatusText.Val プロパティ

定義

状態テキスト値

スキーマ内の次の属性を表します: w:val

[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.StringValue Val { get; set; }
public DocumentFormat.OpenXml.StringValue Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:val")]
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "val")>]
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:val")>]
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
Public Property Val As StringValue

プロパティ値

StringValue を返します。

属性

注釈

ECMA International Standard ECMA-376 からの次の情報は、このクラスを操作するときに役立ちます。

現在のフォーム フィールドの状態テキストを指定します。 type属性の値に基づいて、このフィールドの内容は次のように解釈されます。

  • type属性値がtextされると、フォーム フィールドのリテラル状態テキストが含まれます。

  • type属性値がautoTextされると、フォーム フィールドのステータス テキストを含む用語集ドキュメント エントリの名前が含まれます。

フォーム フィールドの次の WordprocessingML フラグメントについて考えてみましょう。

<w:ffData>  
  <w:statusText w:type="autoText" w:val="MyStatusText" />  
</w:ffData>  

val属性のテキストは、type属性の値が autoText であるため、このフォーム フィールドの状態テキストを含む用語集ドキュメント エントリの名前です。

この属性に使用できる値は、 ST_FFStatusTextVal 単純型によって定義されます。

適用対象