Export (0) Print
Expand All

XamlObjectWriter::Result Property

.NET Framework 4.6 and 4.5

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

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

public:
virtual property Object^ Result {
	Object^ get ();
}

Property Value

Type: System::Object
The last object written, or nullptr. See 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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft