WebProperties.Encoding 属性

定义

HTML 输出的编码

表示架构中的以下属性:编码

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

属性值

返回 StringValue

属性

注解

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

指定生成输出时应使用的特定 HTML 字符集编码。

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

适用于