다음을 통해 공유


SelectBlockSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectStatementSyntax ^ selectStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseBlockSyntax ^> caseBlocks, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSelectStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax selectStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax> caseBlocks, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSelectStatement);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax
Public Function Update (selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(Of CaseBlockSyntax), endSelectStatement As EndBlockStatementSyntax) As SelectBlockSyntax

Parameters

selectStatement
SelectStatementSyntax

The value for the SelectStatement property.

caseBlocks
SyntaxList<CaseBlockSyntax>

The value for the CaseBlocks property.

endSelectStatement
EndBlockStatementSyntax

The value for the EndSelectStatement property.

Returns

Applies to