CommentShape.ChooseRelationship(ShapeElement) 方法

定义

由 () ShapeElement 调用,以获取子 ShapeElement 对子所拥有的关系的类型。

protected:
 override Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement::RelationshipType ChooseRelationship(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ childShape);
protected override Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType ChooseRelationship (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement childShape);
override this.ChooseRelationship : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType
Protected Overrides Function ChooseRelationship (childShape As ShapeElement) As ShapeElement.RelationshipType

参数

childShape
ShapeElement

要添加到此形状的子形状。

返回

ShapeElement.RelationshipType

要创建的 RelationshipType。

适用于