MarkupWriter.GetMarkupObjectFor Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: