Compartilhar via


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

'Declaração
Sub SaveModelAndDiagram ( _
    serializationResult As SerializationResult, _
    modelRoot As ModelElement, _
    modelFileName As String, _
    diagram As ModelElement, _
    diagramFileName As String, _
    encoding As Encoding _
)
void SaveModelAndDiagram(
    SerializationResult serializationResult,
    ModelElement modelRoot,
    string modelFileName,
    ModelElement diagram,
    string diagramFileName,
    Encoding encoding
)
void SaveModelAndDiagram(
    SerializationResult^ serializationResult, 
    ModelElement^ modelRoot, 
    String^ modelFileName, 
    ModelElement^ diagram, 
    String^ diagramFileName, 
    Encoding^ encoding
)
abstract SaveModelAndDiagram : 
        serializationResult:SerializationResult * 
        modelRoot:ModelElement * 
        modelFileName:string * 
        diagram:ModelElement * 
        diagramFileName:string * 
        encoding:Encoding -> unit 
function SaveModelAndDiagram(
    serializationResult : SerializationResult, 
    modelRoot : ModelElement, 
    modelFileName : String, 
    diagram : ModelElement, 
    diagramFileName : String, 
    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