NonVisualDrawingProperties.Name 属性

定义

name

表示架构中的以下属性:name

[DocumentFormat.OpenXml.SchemaAttr(0, "name")]
public DocumentFormat.OpenXml.StringValue Name { get; set; }
public DocumentFormat.OpenXml.StringValue Name { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "name")]
public DocumentFormat.OpenXml.StringValue? Name { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("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(0, "name")>]
member this.Name : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("name")>]
member this.Name : DocumentFormat.OpenXml.StringValue with get, set
Public Property Name As StringValue

属性值

返回 StringValue

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定对象的名称。 通常,这将用于存储图片对象的原始文件名。

请考虑定义如下的 DrawingML 对象:

< … name="foo.jpg" >  

特性 name 的 值为 foo.jpg,这是此 DrawingML 对象的名称。

此属性的可能值由 XML 架构 string 数据类型定义。

适用于