XmlSchema.TargetNamespace Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Uniform Resource Identifier (URI) of the schema target namespace.
public:
property System::String ^ TargetNamespace { System::String ^ get(); void set(System::String ^ value); };
public string? TargetNamespace { get; set; }
public string TargetNamespace { get; set; }
member this.TargetNamespace : string with get, set
Public Property TargetNamespace As String
Property Value
The schema target namespace.
Remarks
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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.