Delen via


CodeGenerationUtilities.GetDomainClassXmlTagName Method (DomainClass, String)

Get the XmlTagName for a domain class.

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 GetDomainClassXmlTagName ( _
    domainClass As DomainClass, _
    currentNamespace As String _
) As String
public static string GetDomainClassXmlTagName(
    DomainClass domainClass,
    string currentNamespace
)
public:
static String^ GetDomainClassXmlTagName(
    DomainClass^ domainClass, 
    String^ currentNamespace
)
static member GetDomainClassXmlTagName : 
        domainClass:DomainClass * 
        currentNamespace:string -> string
public static function GetDomainClassXmlTagName(
    domainClass : DomainClass, 
    currentNamespace : String
) : String

Parameters

Return Value

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

Remarks

Assumption is made here that domainClass belongs to the targetNamespace

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

GetDomainClassXmlTagName Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace