TrackChangeType.Author Propriété

Définition

author

Représente l’attribut suivant dans le schéma : 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

Valeur de propriété

Retourne StringValue.

Attributs

Remarques

Les informations suivantes de la norme internationale ECMA ECMA-376 peuvent être utiles lors de l’utilisation de cette classe.

Spécifie l’auteur d’une annotation dans un document WordprocessingML.

Si cet attribut est omis, aucun auteur ne doit être associé au type d’annotation parent.

Considérez un commentaire représenté à l’aide du fragment WordprocessingML suivant :

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

L’attribut author spécifie que l’auteur de l’annotation actuelle est Example Author, qui peut être utilisé comme vous le souhaitez.

Les valeurs possibles pour cet attribut sont définies par le ST_String type simple.

S’applique à