Delen via


System.Linq namespaces

The System.Linq and System.Linq.Expressions namespaces contain types that support queries that use Language-Integrated Query (LINQ).

This topic displays the types in the System.Linq and System.Linq.Expressions namespaces that are included in the .NET for Windows Store apps. Note that the .NET for Windows Store apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in the .NET for Windows Store apps.

System.Linq namespace

Types supported in the .NET for Windows Store apps

Description

Enumerable

Provides a set of static methods for querying objects that implement IEnumerable<T>.

EnumerableExecutor

Represents an expression tree and provides functionality to execute the expression tree after rewriting it.

EnumerableExecutor<T>

Represents an expression tree and provides functionality to execute the expression tree after rewriting it.

EnumerableQuery

Represents an IEnumerable as an EnumerableQuery data source.

EnumerableQuery<T>

Represents an IEnumerable<T> collection as an IQueryable<T> data source.

IGrouping<TKey, TElement>

Represents a collection of objects that have a common key.

ILookup<TKey, TElement>

Defines an indexer, size property, and Boolean search method for data structures that map keys to IEnumerable<T> sequences of values.

IOrderedEnumerable<TElement>

Represents a sorted sequence.

IOrderedQueryable

Represents the result of a sorting operation.

IOrderedQueryable<T>

Represents the result of a sorting operation.

IQueryable

Provides functionality to evaluate queries against a specific data source wherein the type of the data is not specified.

IQueryable<T>

Provides functionality to evaluate queries against a specific data source wherein the type of the data is known.

IQueryProvider

Defines methods to create and execute queries that are described by an IQueryable object.

Lookup<TKey, TElement>

Represents a collection of keys each mapped to one or more values.

OrderedParallelQuery<TSource>

Represents a sorted, parallel sequence.

ParallelEnumerable

Provides a set of methods for querying objects that implement ParallelQuery{TSource}. This is the parallel equivalent of Enumerable.

ParallelExecutionMode

The query execution mode is a hint that specifies how the system should handle performance trade-offs when parallelizing queries.

ParallelMergeOptions

Specifies the preferred type of output merge to use in a query. In other words, it indicates how PLINQ should merge the results from the various partitions back into a single result sequence. This is a hint only, and may not be respected by the system when parallelizing all queries.

ParallelQuery

Represents a parallel sequence.

ParallelQuery<TSource>

Represents a parallel sequence.

Queryable

Provides a set of static methods for querying data structures that implement IQueryable<T>.

System.Linq.Expressions namespace

Types supported in the .NET for Windows Store apps

Description

BinaryExpression

Represents an expression that has a binary operator.

BlockExpression

Represents a block that contains a sequence of expressions where variables can be defined.

CatchBlock

Represents a catch statement in a try block.

ConditionalExpression

Represents an expression that has a conditional operator.

ConstantExpression

Represents an expression that has a constant value.

DebugInfoExpression

Emits or clears a sequence point for debug information. This allows the debugger to highlight the correct source code when debugging.

DefaultExpression

Represents the default value of a type or an empty expression.

DynamicExpression

Represents a dynamic operation.

DynamicExpressionVisitor

Represents a visitor or rewriter for dynamic expression trees.

ElementInit

Represents an initializer for a single element of an IEnumerable collection.

Expression

Provides the base class from which the classes that represent expression tree nodes are derived. It also contains static factory methods to create the various node types. This is an abstract class.

Expression<TDelegate>

Represents a strongly typed lambda expression as a data structure in the form of an expression tree. This class cannot be inherited.

ExpressionType

Describes the node types for the nodes of an expression tree.

ExpressionVisitor

Represents a visitor or rewriter for expression trees.

GotoExpression

Represents an unconditional jump. This includes return statements, break and continue statements, and other jumps.

GotoExpressionKind

Specifies what kind of jump this GotoExpression represents.

IndexExpression

Represents indexing a property or array.

InvocationExpression

Represents an expression that applies a delegate or lambda expression to a list of argument expressions.

LabelExpression

Represents a label, which can be put in any Expression context. If it is jumped to, it will get the value provided by the corresponding GotoExpression. Otherwise, it receives the value in DefaultValue. If the Type equals Void, no value should be provided.

LabelTarget

Represents the target of a GotoExpression.

LambdaExpression

Describes a lambda expression. This captures a block of code that is similar to a .NET method body.

ListInitExpression

Represents a constructor call that has a collection initializer.

LoopExpression

Represents an infinite loop. It can be exited with "break".

MemberAssignment

Represents assignment operation for a field or property of an object.

MemberBinding

Provides the base class from which the classes that represent bindings that are used to initialize members of a newly created object derive.

MemberBindingType

Describes the binding types that are used in MemberInitExpression objects.

MemberExpression

Represents accessing a field or property.

MemberInitExpression

Represents calling a constructor and initializing one or more members of the new object.

MemberListBinding

Represents initializing the elements of a collection member of a newly created object.

MemberMemberBinding

Represents initializing members of a member of a newly created object.

MethodCallExpression

Represents a call to either static or an instance method.

NewArrayExpression

Represents creating a new array and possibly initializing the elements of the new array.

NewExpression

Represents a constructor call.

ParameterExpression

Represents a named parameter expression.

RuntimeVariablesExpression

Represents an expression that provides runtime read/write permission for variables.

SwitchCase

Represents one case of a SwitchExpression.

SwitchExpression

Represents a control expression that handles multiple selections by passing control to SwitchCase.

SymbolDocumentInfo

Stores information necessary to emit debugging symbol information for a source file, in particular the file name and unique language identifier.

TryExpression

Represents a try/catch/finally/fault block.

TypeBinaryExpression

Represents an operation between an expression and a type.

UnaryExpression

Represents an expression that has a unary operator.

See Also

Concepts

.NET for Windows Store apps - supported APIs