Share via


CodeGenerationUtilities.GetDomainClassMonikerTagName Method (DomainClass, String, Dictionary<DslLibrary, String>)

Get the MonikerTagName for a domain class, when it is serialized as a moniker. Note that the tag name cannot be the same for moniker, because that will require two definitions of the same element in the generated schema. The default name used (if not specified using "XmlClassData.MonikerElementName"), will be the non-moniker XmlTagName followed by "Moniker".

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function GetDomainClassMonikerTagName ( _
    domainClass As DomainClass, _
    currentNamespace As String, _
    xmlNamespaceQualifiers As Dictionary(Of DslLibrary, String) _
) As String
public static string GetDomainClassMonikerTagName(
    DomainClass domainClass,
    string currentNamespace,
    Dictionary<DslLibrary, string> xmlNamespaceQualifiers
)
public:
static String^ GetDomainClassMonikerTagName(
    DomainClass^ domainClass, 
    String^ currentNamespace, 
    Dictionary<DslLibrary^, String^>^ xmlNamespaceQualifiers
)
static member GetDomainClassMonikerTagName : 
        domainClass:DomainClass * 
        currentNamespace:string * 
        xmlNamespaceQualifiers:Dictionary<DslLibrary, string> -> string
public static function GetDomainClassMonikerTagName(
    domainClass : DomainClass, 
    currentNamespace : String, 
    xmlNamespaceQualifiers : Dictionary<DslLibrary, String>
) : String

Parameters

  • currentNamespace
    Type: String
  • xmlNamespaceQualifiers
    Type: Dictionary<DslLibrary, String>

Return Value

Type: String
The moniker tag name of the given DomainClass.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

GetDomainClassMonikerTagName Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace