IDomainModelSerializer.SaveModelAndDiagram Method

Saves the model and diagram to files

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

Syntax

void SaveModelAndDiagram(
    SerializationResult serializationResult,
    ModelElement modelRoot,
    string modelFileName,
    ModelElement diagram,
    string diagramFileName,
    Encoding encoding
)

Parameters

  • modelFileName
    Type: System.String
    The file to save the model element tosave
  • diagramFileName
    Type: System.String
    The file to save the diagram to

.NET Framework Security

See Also

Reference

IDomainModelSerializer Interface

Microsoft.VisualStudio.Modeling Namespace