Condividi tramite


DslDefinitionModelSerializationHelperBase.GetSerializedModelString Method

Return the model in XML format

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Overridable Function GetSerializedModelString ( _
    modelRoot As DslLibrary, _
    encoding As Encoding _
) As String
public virtual string GetSerializedModelString(
    DslLibrary modelRoot,
    Encoding encoding
)
public:
virtual String^ GetSerializedModelString(
    DslLibrary^ modelRoot, 
    Encoding^ encoding
)
abstract GetSerializedModelString : 
        modelRoot:DslLibrary * 
        encoding:Encoding -> string  
override GetSerializedModelString : 
        modelRoot:DslLibrary * 
        encoding:Encoding -> string
public function GetSerializedModelString(
    modelRoot : DslLibrary, 
    encoding : Encoding
) : String

Parameters

Return Value

Type: System.String
Model in XML form

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationHelperBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace