PipelineBuffer.NextRow Méthode

Définition

Fait avancer le PipelineBuffer jusqu'à la ligne suivante.

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

Retours

true si la mémoire tampon a été avancée vers la ligne suivante ; sinon, false.

Exemples

L’exemple de code suivant effectue une boucle dans les lignes d’une entrée PipelineBuffer à l’aide de 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 avance la PipelineBuffer ligne suivante dans sa collection. Elle retourne true jusqu’à ce qu’il n’y ait plus de lignes disponibles.

S’applique à