共用方式為


Header.UserName Property

Definition

User Name

Represents the following attribute in the schema: userName

[DocumentFormat.OpenXml.SchemaAttr(0, "userName")]
public DocumentFormat.OpenXml.StringValue UserName { get; set; }
public DocumentFormat.OpenXml.StringValue UserName { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "userName")]
public DocumentFormat.OpenXml.StringValue? UserName { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("userName")]
public DocumentFormat.OpenXml.StringValue? UserName { get; set; }
public DocumentFormat.OpenXml.StringValue? UserName { get; set; }
member this.UserName : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "userName")>]
member this.UserName : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("userName")>]
member this.UserName : DocumentFormat.OpenXml.StringValue with get, set
Public Property UserName As StringValue

Property Value

Returns StringValue.

Attributes

Applies to