MarkupWriter::GetMarkupObjectFor Method (Object^, XamlDesignerSerializationManager^)
.NET Framework (current version)
Creates an instance of a MarkupObject from the specified object and the specified serialization manager.
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
Available since 3.0
Show: