Share via


ElementNameProvider.CustomSetUniqueNameCore Method

Sets unique name on the element given base name and list of sibling model elements.

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

Syntax

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

Parameters

  • baseName
    Type: String

    Base name from which unique name is to be derived.

  • siblings
    Type: IList<ModelElement>

    List of sibling elements which can be used to make the name unique. The list does not include the passed element.

.NET Framework Security

See Also

Reference

ElementNameProvider Class

Microsoft.VisualStudio.Modeling Namespace