ISelectableItem.GetSelection Method

Tells if the instance referred by the stack of parents is selected.
Function GetSelection( _ 
Optional ByVal parents As Stack(Of BlockReference) = null _ 
) As Boolean
This language is not supported or no code example is available.
bool GetSelection( 
Stack<BlockReference> parents = null 
)
This language is not supported or no code example is available.

Parameters

parents
Stack<BlockReference>

The parents stack that identifies the component instance (not used for Labels)

Return Value

bool

True if the instance is selected, false otherwise

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition