Sets the name of an element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Overridable Sub SetUniqueNameCore ( _
element As ModelElement, _
baseName As String, _
siblingNames As IDictionary(Of String, ModelElement) _
)
'使用
Dim element As ModelElement
Dim baseName As String
Dim siblingNames As IDictionary(Of String, ModelElement)
Me.SetUniqueNameCore(element, baseName, _
siblingNames)
protected virtual void SetUniqueNameCore(
ModelElement element,
string baseName,
IDictionary<string, ModelElement> siblingNames
)
protected:
virtual void SetUniqueNameCore(
ModelElement^ element,
String^ baseName,
IDictionary<String^, ModelElement^>^ siblingNames
)
protected function SetUniqueNameCore(
element : ModelElement,
baseName : String,
siblingNames : IDictionary<String, ModelElement>
)
Parameters
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element.
baseName
Type: System.StringThe name for the element.
siblingNames
Type: System.Collections.Generic.IDictionary<String, ModelElement>Names that can be added to the base name.
Permissions
- 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.