TargetNamespace Property

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 string TargetNamespace { get; set; }

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:
© 2016 Microsoft