DslDefinitionModelDomainModelSerializerBase.CalculateDiagramFileName Method

Calculates and returns the name of the diagram file for the specified model file

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

Syntax

'Declaration
Public Overridable Function CalculateDiagramFileName ( _
    modelFileName As String _
) As String
public virtual string CalculateDiagramFileName(
    string modelFileName
)
public:
virtual String^ CalculateDiagramFileName(
    String^ modelFileName
)
abstract CalculateDiagramFileName : 
        modelFileName:string -> string  
override CalculateDiagramFileName : 
        modelFileName:string -> string
public function CalculateDiagramFileName(
    modelFileName : String
) : String

Parameters

  • modelFileName
    Type: String

    The relevant model file name

Return Value

Type: String
Name of the associated diagram file

Implements

IDomainModelSerializer.CalculateDiagramFileName(String)

Remarks

There is no guarantee that either the model file or the calculated diagram file exist.

.NET Framework Security

See Also

Reference

DslDefinitionModelDomainModelSerializerBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace