Condividi tramite


DomainClassInfo.SetName Method

Sets the name of the element.

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

Syntax

'Declaration
Public Shared Sub SetName ( _
    element As ModelElement, _
    name As String _
)
public static void SetName(
    ModelElement element,
    string name
)
public:
static void SetName(
    ModelElement^ element, 
    String^ name
)
static member SetName : 
        element:ModelElement * 
        name:string -> unit
public static function SetName(
    element : ModelElement, 
    name : String
)

Parameters

.NET Framework Security

See Also

Reference

DomainClassInfo Class

Microsoft.VisualStudio.Modeling Namespace