MarkupWriter.GetMarkupObjectFor Method (Object, XamlDesignerSerializationManager)

 
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 and the specified serialization manager.

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

public static MarkupObject GetMarkupObjectFor(
	object instance,
	XamlDesignerSerializationManager manager
)

Parameters

instance
Type: System.Object

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

manager
Type: System.Windows.Markup.XamlDesignerSerializationManager

The serialization manager.

Return Value

Type: System.Windows.Markup.Primitives.MarkupObject

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

Exception Condition
ArgumentNullException

instance or manager is null.

.NET Framework
Available since 3.0
Return to top
Show: