Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
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

  • baseName
    Type: String

    The name for the link.

.NET Framework Security

See Also

Reference

ElementNameProvider Class

SetUniqueName Overload

Microsoft.VisualStudio.Modeling Namespace