共用方式為


DomainClassHasCustomTypeDescriptor.SetClass Method

Definition

Sets Class.

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

Parameters

newClass
DomainClass
Attributes

Applies to