TextDecoratorSerializer.CalculateQualifiedName Method
This method calculates a moniker to a given TextDecorator instance.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Overrides Function CalculateQualifiedName ( _
directory As DomainXmlSerializerDirectory, _
element As ModelElement _
) As String
public override string CalculateQualifiedName(
DomainXmlSerializerDirectory directory,
ModelElement element
)
public:
virtual String^ CalculateQualifiedName(
DomainXmlSerializerDirectory^ directory,
ModelElement^ element
) override
abstract CalculateQualifiedName :
directory:DomainXmlSerializerDirectory *
element:ModelElement -> string
override CalculateQualifiedName :
directory:DomainXmlSerializerDirectory *
element:ModelElement -> string
public override function CalculateQualifiedName(
directory : DomainXmlSerializerDirectory,
element : ModelElement
) : String
Parameters
directory
Type: Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectoryDirectory to look up serializer based on model element type.
element
Type: Microsoft.VisualStudio.Modeling.ModelElementTextDecorator instance to calculate qualified name for.
Return Value
Type: System.String
A fully qualified string moniker to the TextDecorator instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.