共用方式為


LambdaExpressionSyntax.WithBlock(BlockSyntax) 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.LambdaExpressionSyntax WithBlock (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block);
override this.WithBlock : Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LambdaExpressionSyntax
Public Function WithBlock (block As BlockSyntax) As LambdaExpressionSyntax

參數

block
BlockSyntax

傳回

適用於