CompartmentShape.AssociateCompartment(Compartment, Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将隔离舱与此 compartmentShape 相关联,并将其添加到其嵌套子形状列表。
public:
virtual void AssociateCompartment(Microsoft::VisualStudio::Modeling::Diagrams::Compartment ^ compartment, Type ^ listKey);
public virtual void AssociateCompartment (Microsoft.VisualStudio.Modeling.Diagrams.Compartment compartment, Type listKey);
abstract member AssociateCompartment : Microsoft.VisualStudio.Modeling.Diagrams.Compartment * Type -> unit
override this.AssociateCompartment : Microsoft.VisualStudio.Modeling.Diagrams.Compartment * Type -> unit
Public Overridable Sub AssociateCompartment (compartment As Compartment, listKey As Type)
参数
- compartment
- Compartment
要关联的隔离舱。
- listKey
- Type
用于查找隔离舱的键。