DslDefinitionModelSerializationHelperBase.GetSerializedModelString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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