TextDecorator.DefaultText 属性

获取或设置 DefaultText 字段的特性的值。 ,此时修饰器未映射时,默认中显示的文本。

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

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("53c77c7d-fdfc-4cc9-90c1-7193aaed639a")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property DefaultText As String
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("53c77c7d-fdfc-4cc9-90c1-7193aaed639a")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string DefaultText { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

TextDecorator 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间