共用方式為


ToolboxTabHasTools.Tool 屬性

定義工具的 DomainRole 工具的工具箱索引標籤。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ToolboxTabHasTools/Tool.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ToolboxTabHasTools/Tool.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "ToolboxTab",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ToolboxTabHasTools/Tool.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("9a9ed9c1-8e00-46ec-9109-12c5b19b3a50")> _
Public Property Tool As Tool
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ToolboxTabHasTools/Tool.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ToolboxTabHasTools/Tool.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "ToolboxTab", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ToolboxTabHasTools/Tool.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("9a9ed9c1-8e00-46ec-9109-12c5b19b3a50")]
public Tool Tool { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.Tool

.NET Framework 安全性

請參閱

參考

ToolboxTabHasTools 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間