XmlSchemaExternal.SchemaLocation 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定結構的統一資源識別碼(URI)位置,告訴結構處理器該結構實際所在的位置。
public:
property System::String ^ SchemaLocation { System::String ^ get(); void set(System::String ^ value); };
public string? SchemaLocation { get; set; }
public string SchemaLocation { get; set; }
member this.SchemaLocation : string with get, set
Public Property SchemaLocation As String
屬性值
結構的 URI 位置。 匯入結構則為可選。
備註
未包含此屬性的匯入結構,則可由包含結構的實例或處理該結構的應用程式的 XML 文件來決定匯入結構的命名空間。
包含的結構會使用此屬性作為 URI 參考,指向應包含該結構目標命名空間中結構文件的位置。