Condividi tramite


CodeGenerationUtilities.GetBaseDomainClassMonikerTagName Method

Get the MonikerTagName for a the base class of the supplied 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace