共用方式為


ElementNameProvider.SetUniqueName Method (ElementLink, DomainRoleInfo, String)

Sets the name of a link that is assigned to an element.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public Overridable Sub SetUniqueName ( _
    link As ElementLink, _
    indexingDomainRole As DomainRoleInfo, _
    baseName As String _
)
public virtual void SetUniqueName(
    ElementLink link,
    DomainRoleInfo indexingDomainRole,
    string baseName
)
public:
virtual void SetUniqueName(
    ElementLink^ link, 
    DomainRoleInfo^ indexingDomainRole, 
    String^ baseName
)
abstract SetUniqueName : 
        link:ElementLink * 
        indexingDomainRole:DomainRoleInfo * 
        baseName:string -> unit 
override SetUniqueName : 
        link:ElementLink * 
        indexingDomainRole:DomainRoleInfo * 
        baseName:string -> unit 
public function SetUniqueName(
    link : ElementLink, 
    indexingDomainRole : DomainRoleInfo, 
    baseName : String
)

Parameters

.NET Framework Security

See Also

Reference

ElementNameProvider Class

SetUniqueName Overload

Microsoft.VisualStudio.Modeling Namespace