语言

PipelineBuffer.NextRow 方法

定义

将 推进 PipelineBuffer 到下一排。

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

返回

如果缓冲区被推进到下一行,则为真;否则,就是假的。

示例

以下代码示例通过该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 推进到集合的下一行。 直到没有可用的行为止,它会返回为真。

适用于