SmartTagRun.Uri Property
Smart Tag Namespace.Represents the attribte in schema: w:uri
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "uri")> _
Public Property Uri As StringValue
Get
Set
'Usage
Dim instance As SmartTagRun
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 namespace URI of the current custom XML element or smart tag.
If this attribute is omitted, the URI shall be assumed to be null (no associated URI).
Consider a custom XML element which shall have a namespace URI of urn:customXmlExample. This requirement would be specified using the following WordprocessingML:
<w:customXml … w:uri="urn:customXmlExample" />
…
</w:customXml>
The uri attribute specifies that the namespace for this element shall be urn:customXmlExample.
The possible values for this attribute are defined by the ST_String simple type.