XmlSchemaExternal.SchemaLocation XmlSchemaExternal.SchemaLocation XmlSchemaExternal.SchemaLocation XmlSchemaExternal.SchemaLocation Property

Definition

Gets or sets the Uniform Resource Identifier (URI) location for the schema, which tells the schema processor where the schema physically resides.

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

Property Value

The URI location for the schema. Optional for imported schemas.

Remarks

Imported schemas that do not have this attribute allow the imported schema's namespace to be determined by the XML document that is an instance of the containing schema or the application that is processing the schema.

Included schemas use this attribute as the URI reference to the location of a schema document that should be included in the target namespace of the containing schema.

Applies to