Cocktail Help Reference
Take Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IFetchOptions Interface : Take Method



count
The number of elements to return.

Glossary Item Box

Returns a specified number of contiguous elements from the start of a sequence.

Syntax

Visual Basic (Declaration) 
Function Take( _
   ByVal count As Integer _
) As IFetchOptions
Visual Basic (Usage)Copy Code
Dim instance As IFetchOptions
Dim count As Integer
Dim value As IFetchOptions
 
value = instance.Take(count)
C# 
IFetchOptions Take( 
   int count
)
C++/CLI 
IFetchOptions^ Take( 
   int count
) 

Parameters

count
The number of elements to return.

Requirements

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

See Also

© 2013 All Rights Reserved.