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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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
prop
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyDomainProperty whose XML tag name will be returned.
Return Value
Type: String
The XML tag name of the given DomainProperty.
.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.