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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기