Delen via


CommentShapeSerializer.GetMonikerQualifier Method

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)

Syntax

'Declaration
Public Overrides Function GetMonikerQualifier ( _
    directory As DomainXmlSerializerDirectory, _
    element As ModelElement _
) As String
public override string GetMonikerQualifier(
    DomainXmlSerializerDirectory directory,
    ModelElement element
)
public:
virtual String^ GetMonikerQualifier(
    DomainXmlSerializerDirectory^ directory, 
    ModelElement^ element
) override
abstract GetMonikerQualifier : 
        directory:DomainXmlSerializerDirectory * 
        element:ModelElement -> string  
override GetMonikerQualifier : 
        directory:DomainXmlSerializerDirectory * 
        element:ModelElement -> string
public override function GetMonikerQualifier(
    directory : DomainXmlSerializerDirectory, 
    element : ModelElement
) : String

Parameters

Return Value

Type: System.String

Remarks

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

.NET Framework Security

See Also

Reference

CommentShapeSerializer Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace