TrackChangeType.Author 属性

定义

author

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

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

属性值

返回 StringValue

属性

注解

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

指定 WordprocessingML 文档中批注的作者。

如果省略此属性,则任何作者都不应与父批注类型相关联。

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

<w:… w:id="1" w:author="Example Author">  
  …  
</w:…>  

属性 author 指定当前批注的作者为 Example Author,可根据需要使用。

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

适用于