CodeMethodReturnStatement::Expression Property
.NET Framework (current version)
Gets or sets the return value.
Assembly: System (in System.dll)
public: property CodeExpression^ Expression { CodeExpression^ get(); void set(CodeExpression^ value); }
Property Value
Type: System.CodeDom::CodeExpression^A CodeExpression that indicates the value to return for the return statement, or null if the statement is part of a subroutine.
This property should be null for subroutines and be set to something other than null for functions.
.NET Framework
Available since 1.1
Available since 1.1
Show: