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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
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: System.String
The relevant model file name
Return Value
Type: System.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
- 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.