共用方式為


Tool.Tooltip Property

Gets or sets the value of Tooltip domain property. Text used for the tooltip.

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

Syntax

'宣告
<DomainObjectIdAttribute("f817bd4c-5ded-4534-b0c8-2669707b777d")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
Public Property Tooltip As String
    Get
    Set
[DomainObjectIdAttribute("f817bd4c-5ded-4534-b0c8-2669707b777d")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
public string Tooltip { get; set; }
[DomainObjectIdAttribute(L"f817bd4c-5ded-4534-b0c8-2669707b777d")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
public:
property String^ Tooltip {
    String^ get ();
    void set (String^ value);
}
[<DomainObjectIdAttribute("f817bd4c-5ded-4534-b0c8-2669707b777d")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Tooltip.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
member Tooltip : string with get, set
function get Tooltip () : String
function set Tooltip (value : String)

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

Tool Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace