MultiLineLambdaExpressionSyntax.WithSubOrFunctionHeader 方法

定义

返回一个副本,其中 SubOrFunctionHeader 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineLambdaExpressionSyntax ^ WithSubOrFunctionHeader(Microsoft::CodeAnalysis::VisualBasic::Syntax::LambdaHeaderSyntax ^ subOrFunctionHeader);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineLambdaExpressionSyntax WithSubOrFunctionHeader (Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax subOrFunctionHeader);
override this.WithSubOrFunctionHeader : Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineLambdaExpressionSyntax
Public Function WithSubOrFunctionHeader (subOrFunctionHeader As LambdaHeaderSyntax) As MultiLineLambdaExpressionSyntax

参数

subOrFunctionHeader
LambdaHeaderSyntax

返回

适用于