次の方法で共有


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

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

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

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

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

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

適用対象