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.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.ElementLinkThe link.
indexingDomainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe role of the element in the link.
baseName
Type: System.StringThe 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.