Condividi tramite


ClassHasElementMergeDirectives.Directive Property

DomainRole Directive Class for which this is a merge directive.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<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)> _
<DomainObjectIdAttribute("71ec9e86-489c-43bd-bd10-05e133a92ebc")> _
Public Property Directive As ElementMergeDirective
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[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)]
[DomainObjectIdAttribute("71ec9e86-489c-43bd-bd10-05e133a92ebc")]
public ElementMergeDirective Directive { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[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)]
[DomainObjectIdAttribute(L"71ec9e86-489c-43bd-bd10-05e133a92ebc")]
public:
property ElementMergeDirective^ Directive {
    ElementMergeDirective^ get ();
    void set (ElementMergeDirective^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<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)>]
[<DomainObjectIdAttribute("71ec9e86-489c-43bd-bd10-05e133a92ebc")>]
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