ClassHasElementMergeDirectives.Directive 属性
这是一个合并指令的 DomainRole 指令类。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
语法
声明
<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")> _
<DomainObjectIdAttribute("71ec9e86-489c-43bd-bd10-05e133a92ebc")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Directive As ElementMergeDirective
[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")]
[DomainObjectIdAttribute("71ec9e86-489c-43bd-bd10-05e133a92ebc")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives/Directive.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public ElementMergeDirective Directive { get; set; }
属性值
类型:Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。