Loop Method (Expression, LabelTarget, LabelTarget)
Collapse the table of content
Expand the table of content

Expression.Loop Method (Expression, LabelTarget, LabelTarget)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a LoopExpression with the given body.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public static LoopExpression Loop(
	Expression body,
	LabelTarget break,
	LabelTarget continue
)

Parameters

body
Type: System.Linq.Expressions.Expression
The body of the loop.
break
Type: System.Linq.Expressions.LabelTarget
The break target used by the loop body.
continue
Type: System.Linq.Expressions.LabelTarget
The continue target used by the loop body.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft