Partager via


DoLoopBlockSyntax.WithDoStatement(DoStatementSyntax) Method

Definition

Returns a copy of this with the DoStatement 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::DoLoopBlockSyntax ^ WithDoStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ doStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax WithDoStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax doStatement);
member this.WithDoStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax
Public Function WithDoStatement (doStatement As DoStatementSyntax) As DoLoopBlockSyntax

Parameters

doStatement
DoStatementSyntax

Returns

Applies to