InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml) ASP.Net TOCASP.NetMiscellaneous Feature ASP.NET Scripting Visual Basic .NET TOC VB ReferenceVB .NET Typographic and Code ConventionsVB .NET Runtime Library MembersVB .NET KeywordsVB.NET AttributesVB .NET Constants and EnumerationsVB .NET Data Type SummaryVB .NET DirectivesVB.NET FunctionsVB.NETModifiersVB .NET ModulesVB .NET NothingVB.NET ObjectsVB.NET OperatorsVB .NET Properties VB .NET QueryVB .NET Aggregate ClauseVB .NET Distinct ClauseVB .NET Equal ClauseVB .NET From ClauseVB .NET Group By ClauseVB .NET Group John ClauseVB .NET John ClauseVB .NET Let ClauseVB .NET Order By ClauseVB .NET Select ClauseVB .NET Skip ClauseVB .NET Skip While ClauseVB .NET Take Clause Draft for Information Only
ContentTake While Clause
Take While ClauseIncludes elements in a collection as long as a specified condition is true and bypasses the remaining elements.Syntax
PartsTermDefinition expressionRequired. An expression that represents a condition to test elements for. The expression must return a Boolean value or a functional equivalent, such as an Integer to be evaluated as a Boolean.RemarksThe Take While clause includes elements from the start of a query result until the supplied expression returns false. After the expression returns false, the query will bypass all remaining elements. The expression is ignored for the remaining results. The Take While clause differs from the Where clause in that the Where clause can be used to include all elements from a query that meet a particular condition. The Take While clause includes elements only until the first time that the condition is not satisfied. The Take While clause is most useful when you are working with an ordered query result.ExampleTThe following code example uses the Take While clause to retrieve results until the first customer without any orders is found.
See also
Source/Reference©sideway ID: 210500022 Last Updated: 5/22/2021 Revision: 0 Ref: ![]() References
![]() Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019