CodeMethodReturnStatement Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CodeMethodReturnStatement class.
Overloads
CodeMethodReturnStatement() |
Initializes a new instance of the CodeMethodReturnStatement class. |
CodeMethodReturnStatement(CodeExpression) |
Initializes a new instance of the CodeMethodReturnStatement class using the specified expression. |
CodeMethodReturnStatement()
- Source:
- CodeMethodReturnStatement.cs
- Source:
- CodeMethodReturnStatement.cs
Initializes a new instance of the CodeMethodReturnStatement class.
public:
CodeMethodReturnStatement();
public CodeMethodReturnStatement ();
Public Sub New ()
Applies to
CodeMethodReturnStatement(CodeExpression)
- Source:
- CodeMethodReturnStatement.cs
- Source:
- CodeMethodReturnStatement.cs
Initializes a new instance of the CodeMethodReturnStatement class using the specified expression.
public:
CodeMethodReturnStatement(System::CodeDom::CodeExpression ^ expression);
public CodeMethodReturnStatement (System.CodeDom.CodeExpression expression);
new System.CodeDom.CodeMethodReturnStatement : System.CodeDom.CodeExpression -> System.CodeDom.CodeMethodReturnStatement
Public Sub New (expression As CodeExpression)
Parameters
- expression
- CodeExpression
A CodeExpression that indicates the return value.