XamlSchemaContext 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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.XamlSchemaContextPublic 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.XamlSchemaContextPublic 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.XamlSchemaContextPublic Sub New (referenceAssemblies As IEnumerable(Of Assembly), settings As XamlSchemaContextSettings)参数
- referenceAssemblies
- IEnumerable<Assembly>
一组可枚举的程序集信息。 每个程序集信息项都由一个 Assembly 值指定。
- settings
- XamlSchemaContextSettings
用于构造 XamlSchemaContext 的设置对象。