DomainClassInfo.SetName Method
Sets the name of the element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Shared Sub SetName ( _
element As ModelElement, _
name As String _
)
public static void SetName(
ModelElement element,
string name
)
public:
static void SetName(
ModelElement^ element,
String^ name
)
static member SetName :
element:ModelElement *
name:string -> unit
public static function SetName(
element : ModelElement,
name : String
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element to name.
- name
Type: System.String
The name for the element.
.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.