XamlObjectWriter 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 XamlObjectWriter class.
Overloads
XamlObjectWriter(XamlSchemaContext) |
Initializes a new instance of the XamlObjectWriter class using the XAML schema context that is used by a XamlReader. |
XamlObjectWriter(XamlSchemaContext, XamlObjectWriterSettings) |
Initializes a new instance of the XamlObjectWriter class using the context that is used by a XamlReader and its settings. |
XamlObjectWriter(XamlSchemaContext)
Initializes a new instance of the XamlObjectWriter class using the XAML schema context that is used by a XamlReader.
public:
XamlObjectWriter(System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlObjectWriter (System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlObjectWriter : System.Xaml.XamlSchemaContext -> System.Xaml.XamlObjectWriter
Public Sub New (schemaContext As XamlSchemaContext)
Parameters
- schemaContext
- XamlSchemaContext
A XAML schema context that is shared with the XAML reader that provides nodes for writing.
Exceptions
schemaContext
is null
.
Applies to
XamlObjectWriter(XamlSchemaContext, XamlObjectWriterSettings)
Initializes a new instance of the XamlObjectWriter class using the context that is used by a XamlReader and its settings.
public:
XamlObjectWriter(System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::XamlObjectWriterSettings ^ settings);
public XamlObjectWriter (System.Xaml.XamlSchemaContext schemaContext, System.Xaml.XamlObjectWriterSettings settings);
new System.Xaml.XamlObjectWriter : System.Xaml.XamlSchemaContext * System.Xaml.XamlObjectWriterSettings -> System.Xaml.XamlObjectWriter
Public Sub New (schemaContext As XamlSchemaContext, settings As XamlObjectWriterSettings)
Parameters
- schemaContext
- XamlSchemaContext
A XAML schema context that is shared with the XAML reader that provides nodes for writing.
- settings
- XamlObjectWriterSettings
A settings object that specifies certain options for XamlObjectWriter behavior and output.
Exceptions
schemaContext
is null
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om