CodeGenerationUtilities.GetPropertyTagName(DomainProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.