Schema.Uri Property
Custom XML Schema Namespace.Represents the attribte in schema: sl:uri
Namespace: DocumentFormat.OpenXml.CustomXmlSchemaReferences
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "uri")> _
Public Property Uri As StringValue
Get
Set
'Usage
Dim instance As Schema
Dim value As StringValue
value = instance.Uri
instance.Uri = value
[SchemaAttrAttribute(, "uri")]
public StringValue Uri { 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 target namespace for the XML Schema associated with this schema reference.
Consider the following content for custom XML namespace data:
…
<w:schema w:uri="https://www.contoso.com/schema1" />
<w:schema w:uri="https://www.contoso.com/schema2" />
…
The uri attribute specifies the target namespace of each XML schema reference:
Applications may then locate and use a schema for these namespaces using any means available.
The possible values for this attribute are defined by the XML Schema string data type.