共用方式為


SerializationUtilities.GetElementName(ModelElement) Method

Definition

Get the name of a ModelElement for display purpose (e.g. used in error messages).

public:
 static System::String ^ GetElementName(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public static string GetElementName (Microsoft.VisualStudio.Modeling.ModelElement element);
static member GetElementName : Microsoft.VisualStudio.Modeling.ModelElement -> string
Public Shared Function GetElementName (element As ModelElement) As String

Parameters

element
ModelElement

Returns

Applies to