DomainClassInfo.SetUniqueName Method (ModelElement, String)
Assigns an element a unique name.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetUniqueName ( _
element As ModelElement, _
baseName As String _
)
public static void SetUniqueName(
ModelElement element,
string baseName
)
public:
static void SetUniqueName(
ModelElement^ element,
String^ baseName
)
static member SetUniqueName :
element:ModelElement *
baseName:string -> unit
public static function SetUniqueName(
element : ModelElement,
baseName : String
)
Parameters
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element.
baseName
Type: System.StringThe name that you want to use as a base for generating unique names.
.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.