XamlObjectWriter.WriteEndObject Method ()

.NET Framework (current version)
 

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

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public override void WriteEndObject()

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.

.NET Framework
Available since 4.0
Return to top
Show: