Idioma

DocumentVariable.Name Propriedade

Definição

Nome da variável do documento

Representa o seguinte atributo no esquema: 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

Valor da propriedade

Returns StringValue.

Atributos

Comentários

As seguintes informações do ECMA International Standard ECMA-376 podem ser úteis ao trabalhar com esta classe.

Especifica o nome da variável de documento pai.

Considere o seguinte fragmento de WordprocessingML especificando uma variável de documento:

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

O name atributo especifica que o nome da variável do documento é example name.

Os valores possíveis para esse atributo são definidos pelo ST_String tipo simples.

Aplica-se a