ComponentTray.GetNextComponent(IComponent, Boolean) Metodo

Definizione

Simile al metodo GetNextControl(Control, Boolean), questo metodo restituisce il componente successivo nella barra, dato un componente iniziale.

public:
 System::ComponentModel::IComponent ^ GetNextComponent(System::ComponentModel::IComponent ^ component, bool forward);
public System.ComponentModel.IComponent GetNextComponent (System.ComponentModel.IComponent component, bool forward);
member this.GetNextComponent : System.ComponentModel.IComponent * bool -> System.ComponentModel.IComponent
Public Function GetNextComponent (component As IComponent, forward As Boolean) As IComponent

Parametri

component
IComponent

Componente da cui iniziare l'enumerazione.

forward
Boolean

true per enumerare l'elenco in ordine discendente; in caso contrario, false per enumerare in ordine ascendente.

Restituisce

Componente successivo nella barra dei componenti oppure null, se viene raggiunta la fine dell'elenco (o l'inizio, se il parametro forward è false).

Si applica a