XamlObjectWriter.WriteEndObject 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.
Closes the current object scope in the writer. The new object scope becomes the parent member scope.
public:
override void WriteEndObject();
public override void WriteEndObject ();
override this.WriteEndObject : unit -> unit
Public Overrides Sub WriteEndObject ()
Remarks
If this EndObject
position scope is closing the root object, the new object scope becomes the root scope.
The call to WriteStartObject might not yet have created the object because an object member might be a necessary initialization pathway, such as initialization text or initialization parameters. For these cases, the call to WriteEndObject actually writes the object.