編集

次の方法で共有


XamlObjectWriter.Result Property

Definition

Gets the last object that was written. Typically only called when the node stream is at its end and the object graph is complete.

public:
 virtual property System::Object ^ Result { System::Object ^ get(); };
public virtual object Result { get; }
member this.Result : obj
Public Overridable ReadOnly Property Result As Object

Property Value

The last object written, or null.

Remarks

The most typical usage of Result is to call it only when the node stream is known to be at its end, and the object graph is complete. Otherwise, the object graph is likely to be incomplete, and is not useful for most platform scenarios.

Result typically only contains a non-null value if it is called immediately after a call to WriteEndObject, and if the current scope is in the member where the object provides a value.

Applies to