Share via


ElementNameProvider.SetUniqueNameCore Method

Sets the name of an element.

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

Syntax

'Declaration
Protected Overridable Sub SetUniqueNameCore ( _
    element As ModelElement, _
    baseName As String, _
    siblingNames As IDictionary(Of String, ModelElement) _
)
protected virtual void SetUniqueNameCore(
    ModelElement element,
    string baseName,
    IDictionary<string, ModelElement> siblingNames
)
protected:
virtual void SetUniqueNameCore(
    ModelElement^ element, 
    String^ baseName, 
    IDictionary<String^, ModelElement^>^ siblingNames
)
abstract SetUniqueNameCore : 
        element:ModelElement * 
        baseName:string * 
        siblingNames:IDictionary<string, ModelElement> -> unit  
override SetUniqueNameCore : 
        element:ModelElement * 
        baseName:string * 
        siblingNames:IDictionary<string, ModelElement> -> unit
protected function SetUniqueNameCore(
    element : ModelElement, 
    baseName : String, 
    siblingNames : IDictionary<String, ModelElement>
)

Parameters

  • baseName
    Type: String

    The name for the element.

  • siblingNames
    Type: IDictionary<String, ModelElement>

    Names that can be added to the base name.

.NET Framework Security

See Also

Reference

ElementNameProvider Class

Microsoft.VisualStudio.Modeling Namespace