DomainClassInfo.SetName Method
Sets the name of the element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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.ModelElementThe element to name.
name
Type: System.StringThe 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.