Udostępnij za pośrednictwem


DiagramElementSerializer.CalculateQualifiedName Method

Definition

This method calculates a moniker to a given DiagramElement 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

DiagramElement instance to calculate qualified name for.

Returns

A fully qualified string moniker to the DiagramElement instance.

Applies to