共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
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

Return Value

Type: System.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