Partager via


CodeGenerationUtilities.GetPropertyTagName Method

Gets the XML tag name of the given DomainProperty. The tag name will be either the XML attribute name if the property is serialized as an XML attribute, or XML element name if the property is serialized as a nested XML element.

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

Syntax

'Déclaration
Public Shared Function GetPropertyTagName ( _
    prop As DomainProperty _
) As String
public static string GetPropertyTagName(
    DomainProperty prop
)
public:
static String^ GetPropertyTagName(
    DomainProperty^ prop
)
static member GetPropertyTagName : 
        prop:DomainProperty -> string 
public static function GetPropertyTagName(
    prop : DomainProperty
) : String

Parameters

Return Value

Type: System.String
The XML tag name of the given DomainProperty.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace