CaseBlockSyntax.Update 方法

定义

返回具有指定更改的此副本。 如果没有实际更改,则返回此实例。

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

参数

kind
SyntaxKind

新类型。

caseStatement
CaseStatementSyntax

CaseStatement 属性的值。

statements
SyntaxList<StatementSyntax>

语句属性的值。

返回

适用于