Schema.ManifestLocation 属性

定义

资源文件位置

表示架构中的以下属性:sl:manifestLocation

[DocumentFormat.OpenXml.SchemaAttr(25, "manifestLocation")]
public DocumentFormat.OpenXml.StringValue ManifestLocation { get; set; }
public DocumentFormat.OpenXml.StringValue ManifestLocation { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(25, "manifestLocation")]
public DocumentFormat.OpenXml.StringValue? ManifestLocation { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("sl:manifestLocation")]
public DocumentFormat.OpenXml.StringValue? ManifestLocation { get; set; }
public DocumentFormat.OpenXml.StringValue? ManifestLocation { get; set; }
member this.ManifestLocation : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(25, "manifestLocation")>]
member this.ManifestLocation : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("sl:manifestLocation")>]
member this.ManifestLocation : DocumentFormat.OpenXml.StringValue with get, set
Public Property ManifestLocation As StringValue

属性值

返回 StringValue

属性

注解

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

指定加载此文档时应下载和分析的资源文件的位置。 此资源文件的格式和内容由应用程序定义。

请考虑一个 WordprocessingML 文档,该文档在命名空间中包含 http://www.contoso.com 自定义 XML 标记,该标记与位于 处 http://www.contoso.com/resource.xml的资源文件相关联。 以下内容将显示在文档的架构库数据中:

<w:schemaLibrary>  
  <w:schema w:uri="http://www.contoso.com" w:manifestLocation= "http://www.contoso.com/resource.xml" />  
</w:schemaLibrary>  

属性 manifestLocation 包含 http://www.contoso.com/manifest.xml 的资源文件的位置,可以下载以供使用此命名空间时使用。

此属性的可能值由 XML 架构 string 数据类型定义。

适用于