ShapeHasCompartments.GetCompartments(CompartmentShape) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取隔离舱的列表。
public:
static Microsoft::VisualStudio::Modeling::LinkedElementCollection<Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^> ^ GetCompartments(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ element);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.Compartment> GetCompartments (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape element);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetCompartments : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape -> Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.Compartment>
Public Shared Function GetCompartments (element As CompartmentShape) As LinkedElementCollection(Of Compartment)
参数
- element
- CompartmentShape
返回
- 属性