Share via


IDomainModelSerializer.CalculateDiagramFileName Method

Returns the name of the diagram file that accompanies the supplied model file

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

Syntax

'Declaration
Function CalculateDiagramFileName ( _
    modelFileName As String _
) As String
string CalculateDiagramFileName(
    string modelFileName
)
String^ CalculateDiagramFileName(
    String^ modelFileName
)
abstract CalculateDiagramFileName : 
        modelFileName:string -> string
function CalculateDiagramFileName(
    modelFileName : String
) : String

Parameters

  • modelFileName
    Type: String

    The name of the model file

Return Value

Type: String
The name of the diagram file, or null/empty if a diagram file name could not be calculated.

.NET Framework Security

See Also

Reference

IDomainModelSerializer Interface

Microsoft.VisualStudio.Modeling Namespace