CodeGenerationUtilities.GetDomainClassXmlTagName Method (DomainClass, String)
Get the XmlTagName for a domain class.
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 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
domainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassDomainClass whose XmlTagName will be returned.
- currentNamespace
Type: String
Return Value
Type: String
The Xml tag name of the given DomainClass.
Remarks
Assumption is made here that domainClass belongs to the targetNamespace
.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.