ListField.GetItemSelectable Method
Gets a value indicating whether the specified list item is selectable.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Overridable Function GetItemSelectable ( _
parentShape As ShapeElement, _
listItem As ListItemSubField _
) As Boolean
public virtual bool GetItemSelectable(
ShapeElement parentShape,
ListItemSubField listItem
)
public:
virtual bool GetItemSelectable(
ShapeElement^ parentShape,
ListItemSubField^ listItem
)
abstract GetItemSelectable :
parentShape:ShapeElement *
listItem:ListItemSubField -> bool
override GetItemSelectable :
parentShape:ShapeElement *
listItem:ListItemSubField -> bool
public function GetItemSelectable(
parentShape : ShapeElement,
listItem : ListItemSubField
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement to which this ListField belongs.
- listItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.ListItemSubField
List item to get selectable value for.
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.