SimpleLambdaExpressionSyntax.WithBody(CSharpSyntaxNode) Method
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.
public:
Microsoft::CodeAnalysis::CSharp::Syntax::SimpleLambdaExpressionSyntax ^ WithBody(Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax WithBody (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
override this.WithBody : Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Function WithBody (body As CSharpSyntaxNode) As SimpleLambdaExpressionSyntax
Parameters
- body
- CSharpSyntaxNode
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.