共用方式為


MultiLineLambdaExpressionSyntax.Update 方法

定義

傳回具有指定之變更的這個複本。 如果沒有實際變更,則傳回這個實例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineLambdaExpressionSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::LambdaHeaderSyntax ^ subOrFunctionHeader, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSubOrFunctionStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineLambdaExpressionSyntax Update (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax subOrFunctionHeader, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSubOrFunctionStatement);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineLambdaExpressionSyntax
Public Function Update (kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxList(Of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax

參數

kind
SyntaxKind

新種類。

subOrFunctionHeader
LambdaHeaderSyntax

SubOrFunctionHeader 屬性的值。

statements
SyntaxList<StatementSyntax>

Statements 屬性的值。

endSubOrFunctionStatement
EndBlockStatementSyntax

EndSubOrFunctionStatement 屬性的值。

傳回

適用於