DocumentVariable.Name Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Nombre de la variable de documento
Representa el atributo siguiente en el 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 de propiedad
Devuelve StringValue.
- Atributos
Comentarios
La siguiente información de ECMA International Standard ECMA-376 puede ser útil al trabajar con esta clase.
Especifica el nombre de la variable de documento primaria.
Tenga en cuenta el siguiente fragmento de WordprocessingML que especifica una variable de documento:
<w:docVars>
<w:docVar w:name="example name" w:val="example value" />
</w:docVars>
El name
atributo especifica que el nombre de la variable de documento es example name
.
El tipo simple define los ST_String
valores posibles para este atributo.