Share via


DslDefinitionModelSerializationHelperBase.GetSerializedModelString Method

Definition

Return the model in XML format

public:
 virtual System::String ^ GetSerializedModelString(Microsoft::VisualStudio::Modeling::DslDefinition::DslLibrary ^ modelRoot, System::Text::Encoding ^ encoding);
public virtual string GetSerializedModelString (Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary modelRoot, System.Text.Encoding encoding);
abstract member GetSerializedModelString : Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary * System.Text.Encoding -> string
override this.GetSerializedModelString : Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary * System.Text.Encoding -> string
Public Overridable Function GetSerializedModelString (modelRoot As DslLibrary, encoding As Encoding) As String

Parameters

modelRoot
DslLibrary

Root instance to be saved.

encoding
Encoding

Encoding to use when saving the root instance.

Returns

Model in XML form

Applies to