共用方式為


DiagramSerializer.CalculateQualifiedName Method

Definition

This method calculates a moniker to a given Diagram instance.

public:
 override System::String ^ CalculateQualifiedName(Microsoft::VisualStudio::Modeling::DomainXmlSerializerDirectory ^ directory, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public override string CalculateQualifiedName (Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory directory, Microsoft.VisualStudio.Modeling.ModelElement element);
override this.CalculateQualifiedName : Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory * Microsoft.VisualStudio.Modeling.ModelElement -> string
Public Overrides Function CalculateQualifiedName (directory As DomainXmlSerializerDirectory, element As ModelElement) As String

Parameters

directory
DomainXmlSerializerDirectory

Directory to look up serializer based on model element type.

element
ModelElement

Diagram instance to calculate qualified name for.

Returns

A fully qualified string moniker to the Diagram instance.

Applies to