| Visual Basic (Declaration) | |
|---|---|
<ExtensionAttribute()> Public Overloads Shared Function Skip( _ ByVal source As ITypedEntityQuery, _ ByVal count As Integer _ ) As ITypedEntityQuery  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim source As ITypedEntityQuery Dim count As Integer Dim value As ITypedEntityQuery value = EntityQueryExtensions.Skip(source, count)  | |
| C# | |
|---|---|
[ExtensionAttribute()] public static ITypedEntityQuery Skip( ITypedEntityQuery source, int count )  | |
| C++/CLI | |
|---|---|
[ExtensionAttribute()] public: static ITypedEntityQuery^ Skip( ITypedEntityQuery^ source, int count )  | |
Parameters
- source
 - count
 
| C# |  Copy Code | 
|---|---|
var mgr = new DomainModelEntityManager(); var entityType = typeof(Customer); var baseQuery = EntityQuery.Create(entityType, mgr); var pss = new SortSelector("Id"); var query = baseQuery.OrderBySelector(pss).Skip(10).Take(10); var results = query.Execute();  | |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family