ModelingWindowPane.GetComponentSelected Method

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

声明
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

Return Value

Type: System.Boolean
true if the component is selected, otherwise false.

Implements

ISelectionService.GetComponentSelected(Object)

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace