This documentation is archived and is not being maintained.
ObjectQuery<T>::Skip Method
Visual Studio 2010
Orders the query results by the specified criteria and skips a specified number of results.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
public: ObjectQuery<T>^ Skip( String^ keys, String^ count, ... array<ObjectParameter^>^ parameters )
Parameters
- keys
- Type: System::String
The key columns by which to order the results.
- count
- Type: System::String
The number of results to skip. This must be either a constant or a parameter reference.
- parameters
- Type: array<System.Data.Objects::ObjectParameter>
An optional set of query parameters that should be in scope when parsing.
Return Value
Type: System.Data.Objects::ObjectQuery<T>A new ObjectQuery<T> instance that is equivalent to the original instance with both ORDER BY and SKIP applied.
| Exception | Condition |
|---|---|
| ArgumentNullException | Any argument is nullptr. |
| ArgumentException | keys is an empty string. -or- count is an empty string. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: