TableGridChange.Id 属性

定义

批注标识符

表示架构中的以下属性:w:id

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

属性值

返回 Int32Value

属性

注解

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

指定 WordprocessingML 文档中批注的唯一标识符。 属性的限制 id (如果有)由父 XML 元素定义。

如果省略此属性,则文档不一致。

请考虑使用以下 WordprocessingML 片段表示的注释:

<w:… w:id="1" … >  
  …  
</w:…>  

属性 id 指定当前批注的 ID 为 1。 此值用于在文档内容中唯一标识此批注。

此属性的可能值由 ST_DecimalNumber 简单类型定义。

适用于