Share via


Schema.ManifestLocation Property

Resource File Location.Represents the attribte in schema: sl:manifestLocation

Namespace:  DocumentFormat.OpenXml.CustomXmlSchemaReferences
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "manifestLocation")> _
Public Property ManifestLocation As StringValue
    Get
    Set
'Usage
Dim instance As Schema
Dim value As StringValue

value = instance.ManifestLocation

instance.ManifestLocation = value
[SchemaAttrAttribute(, "manifestLocation")]
public StringValue ManifestLocation { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns StringValue.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the location of a resource file which should be downloaded and parsed when this document is loaded. The format and contents of this resource file are application-defined.

Consider a WordprocessingML document which contains custom XML markup in the https://www.contoso.com namespace, which is associated with a resource file located at https://www.contoso.com/resource.xml. The following content would be displayed in the document's schema library data:

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

The manifestLocation attribute contains https://www.contoso.com/manifest.xml which is the location of a resource file that may be downloaded for use when this namespace is used.

The possible values for this attribute are defined by the XML Schema string data type.

See Also

Reference

Schema Class

Schema Members

DocumentFormat.OpenXml.CustomXmlSchemaReferences Namespace