CommentShape.ChooseRelationship(ShapeElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由 () 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
要添加到此形状的子形状。
返回
要创建的 RelationshipType。