Expression.Break Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Creates a GotoExpression representing a break statement.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Break(LabelTarget) Creates a GotoExpression representing a break statement.
Public methodStatic member Break(LabelTarget, Expression) Creates a GotoExpression representing a break statement. The value passed to the label upon jumping can be specified.
Public methodStatic member Break(LabelTarget, Type) Creates a GotoExpression representing a break statement with the specified type.
Public methodStatic member Break(LabelTarget, Expression, Type) Creates a GotoExpression representing a break statement with the specified type. The value passed to the label upon jumping can be specified.

Top