DiagramRepresentsClass.SetClass Method
Sets Class.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaración
Public Shared Sub SetClass ( _
element As Diagram, _
newClass As DomainClass _
)
public static void SetClass(
Diagram element,
DomainClass newClass
)
public:
static void SetClass(
Diagram^ element,
DomainClass^ newClass
)
static member SetClass :
element:Diagram *
newClass:DomainClass -> unit
public static function SetClass(
element : Diagram,
newClass : DomainClass
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
- newClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
.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.