共用方式為


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

.NET Framework Security

See Also

Reference

ElementNameProvider Class

Microsoft.VisualStudio.Modeling Namespace