語言

XamlObjectWriter.SchemaContext 屬性

定義

取得活躍的 XAML 結構上下文。

public:
 virtual property System::Xaml::XamlSchemaContext ^ SchemaContext { System::Xaml::XamlSchemaContext ^ get(); };
public override System.Xaml.XamlSchemaContext SchemaContext { get; }
member this.SchemaContext : System.Xaml.XamlSchemaContext
Public Overrides ReadOnly Property SchemaContext As XamlSchemaContext

屬性值

XAML 架構上下文。

備註

XAML 架構上下文是大多數實務物件撰寫場景中必要的資訊來源。 XAML 架構上下文會影響後備型別的查找,並保存存在後備型別的組件資訊。 預設的 XAML 結構上下文是基於 CLR 類型映射規則。 框架通常會提供自己的 XAML 結構上下文,以確保組合語言載入機制與框架的程式設計及應用模型相符。

適用於