Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies whether the given component is selected.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.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: System.Object
The element to verify.
Return Value
Type: System.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.