XamlSchemaContext 建構函式

定義

初始化 XamlSchemaContext 類別的新執行個體。

多載

XamlSchemaContext()

初始化 XamlSchemaContext 類別的新執行個體。

XamlSchemaContext(IEnumerable<Assembly>)

根據參考組件集,初始化 XamlSchemaContext 類別的新執行個體。

XamlSchemaContext(XamlSchemaContextSettings)

根據設定物件,初始化 XamlSchemaContext 類別的新執行個體。

XamlSchemaContext(IEnumerable<Assembly>, XamlSchemaContextSettings)

根據參考組件集和設定物件,初始化 XamlSchemaContext 類別的新執行個體。

XamlSchemaContext()

初始化 XamlSchemaContext 類別的新執行個體。

public:
 XamlSchemaContext();
public XamlSchemaContext ();
Public Sub New ()

適用於

XamlSchemaContext(IEnumerable<Assembly>)

根據參考組件集,初始化 XamlSchemaContext 類別的新執行個體。

public:
 XamlSchemaContext(System::Collections::Generic::IEnumerable<System::Reflection::Assembly ^> ^ referenceAssemblies);
public XamlSchemaContext (System.Collections.Generic.IEnumerable<System.Reflection.Assembly> referenceAssemblies);
new System.Xaml.XamlSchemaContext : seq<System.Reflection.Assembly> -> System.Xaml.XamlSchemaContext
Public Sub New (referenceAssemblies As IEnumerable(Of Assembly))

參數

referenceAssemblies
IEnumerable<Assembly>

組件資訊項目的可列舉集。 每一個組件資訊項目都是由 Assembly 值指定。

適用於

XamlSchemaContext(XamlSchemaContextSettings)

根據設定物件,初始化 XamlSchemaContext 類別的新執行個體。

public:
 XamlSchemaContext(System::Xaml::XamlSchemaContextSettings ^ settings);
public XamlSchemaContext (System.Xaml.XamlSchemaContextSettings settings);
new System.Xaml.XamlSchemaContext : System.Xaml.XamlSchemaContextSettings -> System.Xaml.XamlSchemaContext
Public Sub New (settings As XamlSchemaContextSettings)

參數

settings
XamlSchemaContextSettings

用於建構 XamlSchemaContext 的設定物件。

備註

settings 物件會儲存架構內容之文字轉換子和標記延伸的詳細資訊。 如需詳細資訊,請參閱XamlSchemaContextSettings

適用於

XamlSchemaContext(IEnumerable<Assembly>, XamlSchemaContextSettings)

根據參考組件集和設定物件,初始化 XamlSchemaContext 類別的新執行個體。

public:
 XamlSchemaContext(System::Collections::Generic::IEnumerable<System::Reflection::Assembly ^> ^ referenceAssemblies, System::Xaml::XamlSchemaContextSettings ^ settings);
public XamlSchemaContext (System.Collections.Generic.IEnumerable<System.Reflection.Assembly> referenceAssemblies, System.Xaml.XamlSchemaContextSettings settings);
new System.Xaml.XamlSchemaContext : seq<System.Reflection.Assembly> * System.Xaml.XamlSchemaContextSettings -> System.Xaml.XamlSchemaContext
Public Sub New (referenceAssemblies As IEnumerable(Of Assembly), settings As XamlSchemaContextSettings)

參數

referenceAssemblies
IEnumerable<Assembly>

組件資訊的可列舉集。 每一個組件資訊項目都是由 Assembly 值指定。

settings
XamlSchemaContextSettings

用於建構 XamlSchemaContext 的設定物件。

適用於