共用方式為


DomainClassInfo.GetName Method

Gets the name of the element.

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

Syntax

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

Parameters

Return Value

Type: System.String
The name of the element.

.NET Framework Security

See Also

Reference

DomainClassInfo Class

Microsoft.VisualStudio.Modeling Namespace