ElementNameProvider.SetUniqueNameCore Method
Sets the name of an element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element.
- baseName
Type: System.String
The name for the element.
- siblingNames
Type: System.Collections.Generic.IDictionary<String, ModelElement>
Names that can be added to the base name.
.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.