Partager via


ClassHasElementMergeDirectives.Directive Property

DomainRole Directive Class for which this is a merge directive.

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
<DomainObjectIdAttribute("71ec9e86-489c-43bd-bd10-05e133a92ebc")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "DirectiveOf",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Directive As ElementMergeDirective
    Get
    Set
[DomainObjectIdAttribute("71ec9e86-489c-43bd-bd10-05e133a92ebc")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "DirectiveOf", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public ElementMergeDirective Directive { get; set; }
[DomainObjectIdAttribute(L"71ec9e86-489c-43bd-bd10-05e133a92ebc")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"DirectiveOf", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::One)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property ElementMergeDirective^ Directive {
    ElementMergeDirective^ get ();
    void set (ElementMergeDirective^ value);
}
[<DomainObjectIdAttribute("71ec9e86-489c-43bd-bd10-05e133a92ebc")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "DirectiveOf", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member Directive : ElementMergeDirective with get, set
function get Directive () : ElementMergeDirective
function set Directive (value : ElementMergeDirective)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective

.NET Framework Security

See Also

Reference

ClassHasElementMergeDirectives Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace