Condividi tramite


DomainClassInfo.HasNameProperty Method

Indicates whether an element has a name.

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

Syntax

'Declaration
Public Shared Function HasNameProperty ( _
    element As ModelElement _
) As Boolean
public static bool HasNameProperty(
    ModelElement element
)
public:
static bool HasNameProperty(
    ModelElement^ element
)
static member HasNameProperty : 
        element:ModelElement -> bool
public static function HasNameProperty(
    element : ModelElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the element has a name; otherwise, false.

.NET Framework Security

See Also

Reference

DomainClassInfo Class

Microsoft.VisualStudio.Modeling Namespace