다음을 통해 공유


SelectBlockSyntax.WithEndSelectStatement(EndBlockStatementSyntax) Method

Definition

Returns a copy of this with the EndSelectStatement property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectBlockSyntax ^ WithEndSelectStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSelectStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax WithEndSelectStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSelectStatement);
member this.WithEndSelectStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax
Public Function WithEndSelectStatement (endSelectStatement As EndBlockStatementSyntax) As SelectBlockSyntax

Parameters

endSelectStatement
EndBlockStatementSyntax

Returns

Applies to