Partager via


ObjectToolReferencesClass.Tool Property

DomainRole Tool Class of element the tool creates.

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
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("48c5d253-0d0d-46b1-9e4d-2599619192ad")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Class", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.One)> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Tool As ElementTool
    Get
    Set
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("48c5d253-0d0d-46b1-9e4d-2599619192ad")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Class", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.One)]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public ElementTool Tool { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"48c5d253-0d0d-46b1-9e4d-2599619192ad")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Class", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, Multiplicity = Multiplicity::One)]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property ElementTool^ Tool {
    ElementTool^ get ();
    void set (ElementTool^ value);
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("48c5d253-0d0d-46b1-9e4d-2599619192ad")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Class", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.One)>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member Tool : ElementTool with get, set
function get Tool () : ElementTool
function set Tool (value : ElementTool)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.ElementTool

.NET Framework Security

See Also

Reference

ObjectToolReferencesClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace