PipelineBuffer.NextRow 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 推进 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 推进到集合的下一行。 直到没有可用的行为止,它会返回为真。