Partager via


DomainClassInfo.SetUniqueName Method (ModelElement, String)

Assigns an element a unique name.

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

Syntax

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

Parameters

  • baseName
    Type: System.String

    The name that you want to use as a base for generating unique names.

.NET Framework Security

See Also

Reference

DomainClassInfo Class

SetUniqueName Overload

Microsoft.VisualStudio.Modeling Namespace