语言

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.

注解

设置对象存储有关架构上下文的文本转换器和标记扩展细节的信息。 有关详细信息,请参阅 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.

适用于