共用方式為


SelectBlockSyntax.WithSelectStatement(SelectStatementSyntax) Method

Definition

Returns a copy of this with the SelectStatement 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 ^ WithSelectStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectStatementSyntax ^ selectStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax WithSelectStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax selectStatement);
member this.WithSelectStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax
Public Function WithSelectStatement (selectStatement As SelectStatementSyntax) As SelectBlockSyntax

Parameters

selectStatement
SelectStatementSyntax

Returns

Applies to