CompartmentShape.AssociateCompartment(Compartment, Type) 方法

定义

将隔离舱与此 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

用于查找隔离舱的键。

适用于