共用方式為


Compartment.DefaultExpandCollapseState 屬性

取得或設定 DefaultExpandCollapseState 網域屬性的值。 如果為 Expanded,建立時會展開區間。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("686beb3f-d8d3-4e02-86d8-3ef128e823ea")> _
Public Property DefaultExpandCollapseState As ExpandCollapseState
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("686beb3f-d8d3-4e02-86d8-3ef128e823ea")]
public ExpandCollapseState DefaultExpandCollapseState { get; set; }

屬性值

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

.NET Framework 安全性

請參閱

參考

Compartment 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間