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
- 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.