Gets the name of the element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Shared Function GetName ( _
element As ModelElement _
) As String
'使用
Dim element As ModelElement
Dim returnValue As String
returnValue = DomainClassInfo.GetName(element)
public static string GetName(
ModelElement element
)
public:
static String^ GetName(
ModelElement^ element
)
public static function GetName(
element : ModelElement
) : String
Parameters
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element.
Return Value
Type: System.String
The name of the element.
Permissions
- 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.