UCOMIEnumConnectionPoints.Next(Int32, UCOMIConnectionPoint[], Int32) Metodo

Definizione

Recupera un determinato numero di elementi nella sequenza di enumerazione.Retrieves a specified number of items in the enumeration sequence.

public:
 int Next(int celt, cli::array <System::Runtime::InteropServices::UCOMIConnectionPoint ^> ^ rgelt, [Runtime::InteropServices::Out] int % pceltFetched);
public int Next (int celt, System.Runtime.InteropServices.UCOMIConnectionPoint[] rgelt, out int pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.UCOMIConnectionPoint[] * int -> int
Public Function Next (celt As Integer, rgelt As UCOMIConnectionPoint(), ByRef pceltFetched As Integer) As Integer

Parametri

celt
Int32

Numero di riferimenti IConnectionPointda restituire in rgelt.The number of IConnectionPoint references to return in rgelt.

rgelt
UCOMIConnectionPoint[]

In caso di esito positivo, restituisce un riferimento alle connessioni enumerate.On successful return, a reference to the enumerated connections.

pceltFetched
Int32

In caso di esito positivo, restituisce un riferimento al numero effettivo di connessioni enumerate in rgelt.On successful return, a reference to the actual number of connections enumerated in rgelt.

Restituisce

Int32

S_OK se il parametro pceltFetched è uguale al parametro celt; in caso contrario, S_FALSE.S_OK if the pceltFetched parameter equals the celt parameter; otherwise, S_FALSE.

Commenti

Per ulteriori informazioni su IEnumConnectionPoints::Next , vedere MSDN Library.For more information about IEnumConnectionPoints::Next, see the MSDN Library.

Si applica a