次の方法で共有


DocumentVariable.Name プロパティ

定義

ドキュメント変数名

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

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

プロパティ値

StringValue を返します。

属性

注釈

ECMA 国際 標準 ECMA-376 の次の情報は、このクラスを操作するときに役立ちます。

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

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

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

属性は name 、ドキュメント変数の名前が であることを example name指定します。

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

適用対象