ModelingWindowPane.GetComponentSelected Method
Specifies whether the given component is selected.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public Function GetComponentSelected ( _
obj As Object _
) As Boolean
public bool GetComponentSelected(
Object obj
)
public:
virtual bool GetComponentSelected(
Object^ obj
) sealed
abstract GetComponentSelected :
obj:Object -> bool
override GetComponentSelected :
obj:Object -> bool
public final function GetComponentSelected(
obj : Object
) : boolean
Parameters
obj
Type: ObjectThe element to verify.
Return Value
Type: Boolean
true if the component is selected, otherwise false.
Implements
ISelectionService.GetComponentSelected(Object)
.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.