Freigeben über


CodeGenerationUtilities.GetPropertyTagName(DomainProperty) Method

Definition

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.

public:
 static System::String ^ GetPropertyTagName(Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^ prop);
public static string GetPropertyTagName (Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty prop);
static member GetPropertyTagName : Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty -> string
Public Shared Function GetPropertyTagName (prop As DomainProperty) As String

Parameters

prop
DomainProperty

DomainProperty whose XML tag name will be returned.

Returns

The XML tag name of the given DomainProperty.

Applies to