次の方法で共有


DocumentVariable.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 国際 標準 ECMA-376 の次の情報は、このクラスを操作するときに役立ちます。

親ドキュメント変数の値を指定します。

ドキュメント変数を指定する次の WordprocessingML フラグメントについて考えてみましょう。

<w:docVars>  
  <w:docVar w:name="example name" w:val="Samantha Smith" />  
</w:docVars>  

属性は val 、ドキュメント変数の値が であることを Samantha Smith指定します。

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

適用対象