Share via


ObjectToolReferencesClass.Tool Property

DomainRole Tool Class of element the tool creates.

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

Syntax

'Declaration
<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; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Class", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, Multiplicity = Multiplicity::One)]
[DomainObjectIdAttribute(L"48c5d253-0d0d-46b1-9e4d-2599619192ad")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass/Tool.Category", 
    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")>]
[<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")>]
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