ListItemSubField.GetSelectable(ShapeElement, ShapeField) 方法

定义

获取一个值,该值指示是否可以选择此形状字段。

public:
 override bool GetSelectable(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public override bool GetSelectable (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
override this.GetSelectable : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> bool
Public Overrides Function GetSelectable (parentShape As ShapeElement, parentField As ShapeField) As Boolean

参数

parentShape
ShapeElement

此 ShapeSubField 的父 ShapeElement。

parentField
ShapeField

此 ShapeSubField 的父 ShapeField。

返回

Boolean

如果可以选择此形状字段,则为 true。

适用于