DomainClassInfo.SetUniqueName Method (ModelElement, String)
Assigns an element a unique name.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
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.ModelElement
The element.
- baseName
Type: System.String
The 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.