Compartilhar via


SyntaxFactory.MultiLineLambdaExpression Método

Definição

Sobrecargas

MultiLineLambdaExpression(SyntaxKind, LambdaHeaderSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Representa uma expressão lambda de várias linhas.

MultiLineLambdaExpression(SyntaxKind, LambdaHeaderSyntax, EndBlockStatementSyntax)

Representa uma expressão lambda de várias linhas.

MultiLineLambdaExpression(SyntaxKind, LambdaHeaderSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Representa uma expressão lambda de várias linhas.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineLambdaExpressionSyntax ^ MultiLineLambdaExpression(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 static Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineLambdaExpressionSyntax MultiLineLambdaExpression (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);
static member MultiLineLambdaExpression : 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 Shared Function MultiLineLambdaExpression (kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxList(Of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax

Parâmetros

kind
SyntaxKind

Um SyntaxKind que representa o tipo específico de MultiLineLambdaExpressionSyntax. Um de MultiLineFunctionLambdaExpression, MultiLineSubLambdaExpression.

subOrFunctionHeader
LambdaHeaderSyntax

A parte do cabeçalho do lambda que inclui o palavra-chave "Sub" ou "Function", a lista de argumentos e o tipo de retorno.

statements
SyntaxList<StatementSyntax>

O corpo do lambda. Dependendo do tipo de lambda, esse é um StatementBody (lambda de várias linhas), Instrução (sub lambda de linha única) ou Expressão (função de linha única). Pode ser uma lista vazia.

endSubOrFunctionStatement
EndBlockStatementSyntax

Retorna a instrução "End Sub" ou "End Function" se este for um lambda de várias linhas.

Retornos

Aplica-se a

MultiLineLambdaExpression(SyntaxKind, LambdaHeaderSyntax, EndBlockStatementSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Representa uma expressão lambda de várias linhas.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineLambdaExpressionSyntax ^ MultiLineLambdaExpression(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::LambdaHeaderSyntax ^ subOrFunctionHeader, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSubOrFunctionStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineLambdaExpressionSyntax MultiLineLambdaExpression (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax subOrFunctionHeader, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSubOrFunctionStatement);
static member MultiLineLambdaExpression : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineLambdaExpressionSyntax
Public Shared Function MultiLineLambdaExpression (kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax

Parâmetros

kind
SyntaxKind

Um SyntaxKind que representa o tipo específico de MultiLineLambdaExpressionSyntax. Um de MultiLineFunctionLambdaExpression, MultiLineSubLambdaExpression.

subOrFunctionHeader
LambdaHeaderSyntax

A parte do cabeçalho do lambda que inclui o palavra-chave "Sub" ou "Function", a lista de argumentos e o tipo de retorno.

endSubOrFunctionStatement
EndBlockStatementSyntax

Retorna a instrução "End Sub" ou "End Function" se este for um lambda de várias linhas.

Retornos

Aplica-se a