XmlSchemaImport.Namespace Property

Definition

Gets or sets the target namespace for the imported schema as a Uniform Resource Identifier (URI) reference.

public:
 property System::String ^ Namespace { System::String ^ get(); void set(System::String ^ value); };
public string? Namespace { get; set; }
public string Namespace { get; set; }
member this.Namespace : string with get, set
Public Property Namespace As String

Property Value

The target namespace for the imported schema as a URI reference. Optional.

Remarks

The namespace attribute indicates that the containing schema document may contain qualified references to schema components in that namespace through one or more prefixes that are declared with xmlns attributes. If this attribute is absent, the containing schema can contain unqualified references to components in the imported namespace.

Applies to