Condividi tramite


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: System.String

    Base name from which unique name is to be derived.

.NET Framework Security

See Also

Reference

ElementNameProvider Class

Microsoft.VisualStudio.Modeling Namespace