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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
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
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
Element to set name for.
- baseName
Type: System.String
Base name from which unique name is to be derived.
- siblings
Type: System.Collections.Generic.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
- 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.