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.