XmlSchema::TargetNamespace Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: