Freigeben über


SerializationUtilities.GetElementName Method

Gets the name of an element in the serialization results.

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

Syntax

'Declaration
Public Shared Function GetElementName ( _
    element As ModelElement _
) As String
public static string GetElementName(
    ModelElement element
)
public:
static String^ GetElementName(
    ModelElement^ element
)
static member GetElementName : 
        element:ModelElement -> string 
public static function GetElementName(
    element : ModelElement
) : String

Parameters

Return Value

Type: System.String
The name of the element.

Remarks

This method is used to display an the name of an element in an error message.

.NET Framework Security

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace