Tool.Caption 属性

获取或设置说明字段的特性的值。 工具的图例显示在 UI。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Caption.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Caption.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Caption.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("3ce0179d-ae89-41cf-9e97-5f66d9f1e851")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
Public Property Caption As String
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Caption.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Caption.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Caption.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("3ce0179d-ae89-41cf-9e97-5f66d9f1e851")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
public string Caption { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

Tool 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间