XamlSchemaContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 XamlSchemaContext 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| XamlSchemaContext() |
初始化 XamlSchemaContext 類別的新執行個體。 |
| XamlSchemaContext(IEnumerable<Assembly>) |
根據一組參考組件初始化該 XamlSchemaContext 類別的新實例。 |
| XamlSchemaContext(XamlSchemaContextSettings) |
根據 settings 物件初始化該 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)
根據 settings 物件初始化該 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的 settings 物件 。