LinkShapeSerializer.GetMonikerQualifier Method (DomainXmlSerializerDirectory, ModelElement)

 

A domain class can be monikerized in different ways: standard /qualifier/key mechanism, custom moniker, or element ID. If the domain class is serialized using standard /qualifier/key mechanism, this method returns the qualifier of the moniker; if the domain class uses other ways for monikerization, this method returns empty string.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public override string GetMonikerQualifier(
	DomainXmlSerializerDirectory directory,
	ModelElement element
)

Parameters

directory
Type: Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory

Directory to look up serializer based on model element type.

element
Type: Microsoft.VisualStudio.Modeling.ModelElement

LinkShape instance to get moniker qualifier from.

Return Value

Type: System.String
Return to top
Show: