Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the name of a link that is assigned to an element.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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
- link 
 Type: Microsoft.VisualStudio.Modeling.ElementLink- The link. 
- indexingDomainRole 
 Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo- The role of the element in the link. 
- baseName 
 Type: System.String- The name for the link. 
.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.