PipelineBuffer.NextRow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Advances the PipelineBuffer to the next row.
public:
bool NextRow();
public bool NextRow ();
member this.NextRow : unit -> bool
Public Function NextRow () As Boolean
Returns
true if the buffer was advanced to the next row; otherwise, false.
Examples
The following code example loops through the rows of an input PipelineBuffer by using the NextRow method.
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
Remarks
The NextRow method advances the PipelineBuffer to the next row in its collection. It returns true until there are no more available rows.