Export (0) Print
Expand All

Expression.Return Method

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.

  Name Description
Public method Static member Return(LabelTarget) Creates a GotoExpression representing a return statement.
Public method Static member Return(LabelTarget, Expression) Creates a GotoExpression representing a return statement. The value passed to the label upon jumping can be specified.
Public method Static member Return(LabelTarget, Type) Creates a GotoExpression representing a return statement with the specified type.
Public method Static 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
Show:
© 2014 Microsoft