private QueryRowsRequestBody BuildQueryRowsRequestBody(bool hasState, STAT state, uint explicitTableCount, uint[] explicitTable, uint rowCount, bool hasColumns, LargePropertyTagArray columns)
{
QueryRowsRequestBody queryRowsRequestBody = new QueryRowsRequestBody();
queryRowsRequestBody.Flags = (uint)RetrievePropertyFlags.fSkipObjects;
queryRowsRequestBody.HasState = hasState;
if (hasState)
{
queryRowsRequestBody.State = state;
}
queryRowsRequestBody.ExplicitTableCount = explicitTableCount;
queryRowsRequestBody.ExplicitTable = explicitTable;
queryRowsRequestBody.RowCount = rowCount;
queryRowsRequestBody.HasColumns = hasColumns;
if (hasColumns)
{
queryRowsRequestBody.Columns = columns;
}
byte[] auxIn = new byte[] { };
queryRowsRequestBody.AuxiliaryBuffer = auxIn;
queryRowsRequestBody.AuxiliaryBufferSize = (uint)auxIn.Length;
return queryRowsRequestBody;
}