PipelineBuffer.NextRow メソッド

定義

PipelineBufferを次の列に進めます。

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

返品

バッファが次の行に進む場合はtrueとなります。そうでなければ、誤りです。

以下のコード例は、NextRowメソッドを用いて入力PipelineBufferの行をループします。

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  

注釈

NextRow法はPipelineBufferをコレクションの次の行に進めます。 行がなくなるまではtrueに戻ります。

適用対象