Partilhar via


Propriedade ObjectToolReferencesClass.Tool

Classe de ferramenta DomainRole do elemento, que a ferramenta cria.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxe

'Declaração
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Class", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("48c5d253-0d0d-46b1-9e4d-2599619192ad")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Tool As ElementTool
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Class", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("48c5d253-0d0d-46b1-9e4d-2599619192ad")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public ElementTool Tool { get; set; }

Valor de propriedade

Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.ElementTool

Segurança do .NET Framework

Consulte também

Referência

ObjectToolReferencesClass Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition