CompartmentShape.DefaultExpandCollapseState 属性

获取或设置 DefaultExpandCollapseState 域属性的值。 如果已扩展,则在创建时显示隔离舱。 如果折叠,它们则不是。

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

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("5548b4c4-4b5e-48ea-8464-7c9abc4859cd")> _
Public Property DefaultExpandCollapseState As ExpandCollapseState
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("5548b4c4-4b5e-48ea-8464-7c9abc4859cd")]
public ExpandCollapseState DefaultExpandCollapseState { get; set; }

属性值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.ExpandCollapseState

.NET Framework 安全性

请参阅

参考

CompartmentShape 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间