Partilhar via


DiagramRepresentsClass.SetClass(Diagram, DomainClass) Method

Definition

Sets Class.

public:
 static void SetClass(Microsoft::VisualStudio::Modeling::DslDefinition::Diagram ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ newClass);
[System.Diagnostics.DebuggerStepThrough]
public static void SetClass (Microsoft.VisualStudio.Modeling.DslDefinition.Diagram element, Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass newClass);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetClass : Microsoft.VisualStudio.Modeling.DslDefinition.Diagram * Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> unit
Public Shared Sub SetClass (element As Diagram, newClass As DomainClass)

Parameters

element
Diagram
newClass
DomainClass
Attributes

Applies to