DomainRole.IsPropertyBrowsable 属性

获取或设置 IsPropertyBrowsable 域属性的值。 如果为 true,生成的属性在其相应的属性描述中标记为可浏览的。 因此,它可以通过属性窗口浏览。

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

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyBrowsable.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyBrowsable.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyBrowsable.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("5c1b3e70-55b5-451e-9b51-f5fdf9276da9")> _
Public Property IsPropertyBrowsable As Boolean
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyBrowsable.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyBrowsable.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyBrowsable.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("5c1b3e70-55b5-451e-9b51-f5fdf9276da9")]
public bool IsPropertyBrowsable { get; set; }

属性值

类型:System.Boolean

.NET Framework 安全性

请参阅

参考

DomainRole 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间