ComponentTray.IsTrayComponent(IComponent) Method

Definition

Tests a component for presence in the component tray.

public:
 bool IsTrayComponent(System::ComponentModel::IComponent ^ comp);
public bool IsTrayComponent (System.ComponentModel.IComponent comp);
member this.IsTrayComponent : System.ComponentModel.IComponent -> bool
Public Function IsTrayComponent (comp As IComponent) As Boolean

Parameters

comp
IComponent

The component to test for presence in the component tray.

Returns

true if comp is being shown on the tray; otherwise, false.

Applies to