Expression.Return 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 return 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 Return(LabelTarget) Creates a GotoExpression representing a return statement.
Public methodStatic member Return(LabelTarget, Expression) Creates a GotoExpression representing a return statement. The value passed to the label upon jumping can be specified.
Public methodStatic member Return(LabelTarget, Type) Creates a GotoExpression representing a return statement with the specified type.
Public methodStatic member Return(LabelTarget, Expression, Type) Creates a GotoExpression representing a return statement with the specified type. The value passed to the label upon jumping can be specified.

Top