Result Property
Collapse the table of content
Expand the table of content

XamlObjectWriter.Result Property

.NET Framework (current version)
 

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 Overridable ReadOnly Property Result As Object

Property Value

Type: System.Object

The last object written, or null. 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
Available since 4.0
Return to top
Show:
© 2016 Microsoft