All Docs 1 5

broken image


  1. All Docs 1 500
  2. All Docs 1 5 2
  3. All Docs 1 50

1 The versions listed here represent the rules that NuGet uses to determine whether a given.NET Standard library is applicable. While NuGet considers.NET Framework 4.6.1 as supporting.NET Standard 1.5 through 2.0, there are several issues with consuming.NET Standard libraries that were built for those versions from.NET Framework 4.6.1 projects. Access Google Sheets with a free Google account (for personal use) or Google Workspace account (for business use). Day 1 / Golden Gate Bridge. All of Search, right in Docs. Explore and get inspired by images, quotes, and text from Google searches, without leaving the Android app. Get Docs for Android. The following code example demonstrates how to use All to determine whether all the elements in a sequence satisfy a condition. Variable allStartWithB is true if all the pet names start with 'B' or if the pets array is empty.

-->
All

Definition

Important

All Docs 1 5

Definition

Important

Some information relates to prerelease product that may be substantially modified before it's released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Determines whether all elements of a sequence satisfy a condition.

Type Parameters

Parameters

source
IEnumerable

An IEnumerable that contains the elements to apply the predicate to. Smart audiobook player pro.

predicate
Func

A function to test each element for a condition.

Returns

Boolean

All Docs 1 500

true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false.

Exceptions

source or predicate is null.

Examples

The following code example demonstrates how to use All to determine whether all the elements in a sequence satisfy a condition. Variable allStartWithB is true if all the pet names start with 'B' or if the pets array is empty.

The Boolean value that the All method returns is typically used in the predicate of a where clause (Where clause in Visual Basic) or a direct call to the Where method. The following example demonstrates this use of the All method.

All Docs 1 5 2

Remarks

Note

This method does not return all the elements of a collection. Instead, it determines whether all the elements of a collection satisfy a condition.

The enumeration of source is stopped as soon as the result can be determined.

In Visual Basic query expression syntax, an Aggregate Into All() clause translates to an invocation of All.

Applies to

All Docs 1 50

See also





broken image