SerializationUtilities.GetElementName Method
Gets the name of an element in the serialization results.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element.
Return Value
Type: 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
- 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.