ערוך

שתף באמצעות


XamlObjectWriter.WriteEndObject Method

Definition

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.

Applies to