Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlSchema::TargetNamespace Property

 

Gets or sets the Uniform Resource Identifier (URI) of the schema target namespace.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public:
property String^ TargetNamespace {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The schema target namespace.

The TargetNamespace is the namespace of all schema components in this schema as well as any schema included using the include element. Included schemas must either have the same target namespace as the containing schema or have no target namespace specified.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft