IconDecorator.DefaultIcon 属性

获取或设置 DefaultIcon 字段的特性的值。 要显示的图标或图像文件的默认路径。

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

语法

声明
<DomainObjectIdAttribute("9cc695d7-bdea-4a1b-aa61-9b29c693e196")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.IconDecorator/DefaultIcon.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.IconDecorator/DefaultIcon.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.IconDecorator/DefaultIcon.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property DefaultIcon As String
[DomainObjectIdAttribute("9cc695d7-bdea-4a1b-aa61-9b29c693e196")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.IconDecorator/DefaultIcon.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.IconDecorator/DefaultIcon.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.IconDecorator/DefaultIcon.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string DefaultIcon { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

IconDecorator 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间