共用方式為


PortSerializer.CalculateQualifiedName Method

Definition

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

Port instance to calculate qualified name for.

Returns

A fully qualified string moniker to the Port instance.

Applies to