Partager via


DomainClassInfo.SetName Method

Sets 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

'Déclaration
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