Compartir a través de


CaseBlockSyntax.Update Método

Definición

Devuelve una copia de esto con los cambios especificados. Devuelve esta instancia si no hay cambios reales.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ caseStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax caseStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax
Public Function Update (kind As SyntaxKind, caseStatement As CaseStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As CaseBlockSyntax

Parámetros

kind
SyntaxKind

Nuevo tipo.

caseStatement
CaseStatementSyntax

Valor de la propiedad CaseStatement.

statements
SyntaxList<StatementSyntax>

Valor de la propiedad Statements.

Devoluciones

Se aplica a