This documentation is archived and is not being maintained.

Expression.Break Method

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.

  NameDescription
Public method Static member Break(LabelTarget) Creates a GotoExpression representing a break statement.
Public method Static member Break(LabelTarget, Expression) Creates a GotoExpression representing a break statement. The value passed to the label upon jumping can be specified.
Public method Static member Break(LabelTarget, Type) Creates a GotoExpression representing a break statement with the specified type.
Public method Static 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
Show: