MarkupWriter.GetMarkupObjectFor MarkupWriter.GetMarkupObjectFor MarkupWriter.GetMarkupObjectFor MarkupWriter.GetMarkupObjectFor Method

Definition

Creates an instance of a MarkupObject.

Overloads

GetMarkupObjectFor(Object) GetMarkupObjectFor(Object) GetMarkupObjectFor(Object) GetMarkupObjectFor(Object)

Creates an instance of a MarkupObject from the specified object.

GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager)

Creates an instance of a MarkupObject from the specified object and the specified serialization manager.

GetMarkupObjectFor(Object) GetMarkupObjectFor(Object) GetMarkupObjectFor(Object) GetMarkupObjectFor(Object)

Creates an instance of a MarkupObject from the specified object.

public:
 static System::Windows::Markup::Primitives::MarkupObject ^ GetMarkupObjectFor(System::Object ^ instance);
public static System.Windows.Markup.Primitives.MarkupObject GetMarkupObjectFor (object instance);
static member GetMarkupObjectFor : obj -> System.Windows.Markup.Primitives.MarkupObject
Public Shared Function GetMarkupObjectFor (instance As Object) As MarkupObject

Parameters

instance
Object Object Object Object

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

Returns

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

Exceptions

GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager)

Creates an instance of a MarkupObject from the specified object and the specified serialization manager.

public:
 static System::Windows::Markup::Primitives::MarkupObject ^ GetMarkupObjectFor(System::Object ^ instance, System::Windows::Markup::XamlDesignerSerializationManager ^ manager);
public static System.Windows.Markup.Primitives.MarkupObject GetMarkupObjectFor (object instance, System.Windows.Markup.XamlDesignerSerializationManager manager);
static member GetMarkupObjectFor : obj * System.Windows.Markup.XamlDesignerSerializationManager -> System.Windows.Markup.Primitives.MarkupObject
Public Shared Function GetMarkupObjectFor (instance As Object, manager As XamlDesignerSerializationManager) As MarkupObject

Parameters

instance
Object Object Object Object

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

Returns

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

Exceptions

Applies to