XamlXmlWriter.WriteStartObject(XamlType) Method
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.
Writes a XAML start object node to the underlying XmlWriter or TextWriter. Throws an exception if the current position of the XAML node stream is not in a scope where a start object can be written, or if the writer is not in a state that can write a start object.
public:
override void WriteStartObject(System::Xaml::XamlType ^ type);
public override void WriteStartObject (System.Xaml.XamlType type);
override this.WriteStartObject : System.Xaml.XamlType -> unit
Public Overrides Sub WriteStartObject (type As XamlType)
Parameters
Exceptions
type
is null
.
type
is not a valid XamlType.
The current position of the XAML node stream is not valid for writing a new start object.
The state of the XAML writer is not valid for writing a new start object.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈