XmlSchemaReference.TargetNamespace Property
Gest the target namespace that this XML schema defines in the targetNamespace attribute.
Namespace: Microsoft.VisualStudio.XmlEditor
Assembly: Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)
Syntax
public string TargetNamespace { get; }
public:
property String^ TargetNamespace {
String^ get();
}
member TargetNamespace : string with get
Public ReadOnly Property TargetNamespace As String
Property Value
Type: System.String
The target namespace, or an an empty string if the XML schema has no target namespace attribute.
Remarks
If the TargetNamespace is null, the target namespace has not yet been resolved by the XmlSchemaSetBuilder.
See Also
XmlSchemaReference Class
Microsoft.VisualStudio.XmlEditor Namespace
Return to top