ClassHasElementMergeDirectives.SetDirectiveOf(ElementMergeDirective, DomainClass) 方法

定义

设置 DirectiveOf。Sets DirectiveOf.

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

参数

newClass
DomainClass
属性

适用于