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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應