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
'Déclaration
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: System.String
The name of the model file
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.