XamlSchemaContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XamlSchemaContext class.
Overloads
XamlSchemaContext() |
Initializes a new instance of the XamlSchemaContext class. |
XamlSchemaContext(IEnumerable<Assembly>) |
Initializes a new instance of the XamlSchemaContext class, based on a set of reference assemblies. |
XamlSchemaContext(XamlSchemaContextSettings) |
Initializes a new instance of the XamlSchemaContext class, based on a settings object. |
XamlSchemaContext(IEnumerable<Assembly>, XamlSchemaContextSettings) |
Initializes a new instance of the XamlSchemaContext class, based on a set of reference assemblies and a settings object. |
XamlSchemaContext()
Initializes a new instance of the XamlSchemaContext class.
public:
XamlSchemaContext();
public XamlSchemaContext ();
Public Sub New ()
Applies to
XamlSchemaContext(IEnumerable<Assembly>)
Initializes a new instance of the XamlSchemaContext class, based on a set of reference assemblies.
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))
Parameters
- referenceAssemblies
- IEnumerable<Assembly>
An enumerable set of assembly information items. Each assembly information item is specified by an Assembly value.
Applies to
XamlSchemaContext(XamlSchemaContextSettings)
Initializes a new instance of the XamlSchemaContext class, based on a settings object.
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)
Parameters
- settings
- XamlSchemaContextSettings
The settings object to use to construct the XamlSchemaContext.
Remarks
The settings object stores information about text converter and markup extension specifics for the schema context. For more information, see XamlSchemaContextSettings.
Applies to
XamlSchemaContext(IEnumerable<Assembly>, XamlSchemaContextSettings)
Initializes a new instance of the XamlSchemaContext class, based on a set of reference assemblies and a settings object.
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)
Parameters
- referenceAssemblies
- IEnumerable<Assembly>
An enumerable set of assembly information. Each assembly information item is specified by an Assembly value.
- settings
- XamlSchemaContextSettings
The settings object to use to construct the XamlSchemaContext.