Condividi tramite


DomainClassInfo.GetName(ModelElement) Method

Definition

Gets value of the element name property.

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

Parameters

element
ModelElement

Element.

Returns

Value of element name property..

Exceptions

element is null.

Element's domain class has no element name property defined.

Applies to