共用方式為


ElseIfBlockSyntax.Update 方法

定義

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfStatementSyntax ^ elseIfStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax elseIfStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax
Public Function Update (elseIfStatement As ElseIfStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As ElseIfBlockSyntax

參數

elseIfStatement
ElseIfStatementSyntax

ElseIfStatement 屬性的值。

statements
SyntaxList<StatementSyntax>

Statements 屬性的值。

傳回

適用於