Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- element 
 Type: Microsoft.VisualStudio.Modeling.ModelElement- The element. 
- baseName 
 Type: System.String- The name that you want to use as a base for generating unique names. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.