MarkupWriter::GetMarkupObjectFor Method (Object^)

 

Creates an instance of a MarkupObject from the specified object.

Namespace:   System.Windows.Markup.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
static MarkupObject^ GetMarkupObjectFor(
	Object^ instance
)

Parameters

instance
Type: System::Object^

An object that will be the root of the serialized tree.

Return Value

Type: System.Windows.Markup.Primitives::MarkupObject^

A markup object that enables navigating through the tree of objects.

Exception Condition
ArgumentNullException

instance is null.

.NET Framework
Available since 3.0
Return to top
Show: