XamlObjectWriter.WriteEndObject Method

Definition

Closes the current object scope in the writer. The new object scope becomes the parent member scope.

C#
public override void 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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10