PipelineBuffer.NextRow Méthode

Définition

Avance à PipelineBuffer la rangée suivante.

public:
 bool NextRow();
public bool NextRow();
member this.NextRow : unit -> bool
Public Function NextRow () As Boolean

Retours

vrai si le tampon était avancé à la rangée suivante ; sinon, faux.

Exemples

L’exemple de code suivant parcourt les lignes d’une entrée PipelineBuffer en utilisant la NextRow méthode.

public override void ProcessInput( int inputID, PipelineBuffer buffer )  
{  
  while( buffer.NextRow() )  
  {  
     // TODO Process the row.  
  }  
}  
Public  Overrides Sub ProcessInput(ByVal inputID As Integer, ByVal buffer As PipelineBuffer)   
 While buffer.NextRow   
  ' TODO Process the row.  
 End While   
End Sub  

Remarques

La NextRow méthode fait avancer le PipelineBuffer vers la ligne suivante dans sa collection. Cela revient vrai jusqu’à ce qu’il n’y ait plus de rangées disponibles.

S’applique à