Partager via


ClassHasElementMergeDirectives.SetDirectiveOf Method

Sets DirectiveOf.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
Public Shared Sub SetDirectiveOf ( _
    element As ElementMergeDirective, _
    newClass As DomainClass _
)
public static void SetDirectiveOf(
    ElementMergeDirective element,
    DomainClass newClass
)
public:
static void SetDirectiveOf(
    ElementMergeDirective^ element, 
    DomainClass^ newClass
)
static member SetDirectiveOf : 
        element:ElementMergeDirective * 
        newClass:DomainClass -> unit 
public static function SetDirectiveOf(
    element : ElementMergeDirective, 
    newClass : DomainClass
)

Parameters

.NET Framework Security

See Also

Reference

ClassHasElementMergeDirectives Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace