Goto Method
TOC
Collapse the table of content
Expand the table of content

Expression.Goto Method

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

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

Show:
© 2017 Microsoft