Edit

Share via


XmlSchema.TargetNamespace Property

Definition

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