Share via


WithBlockSyntax.WithEndWithStatement(EndBlockStatementSyntax) Method

Definition

Returns a copy of this with the EndWithStatement 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::WithBlockSyntax ^ WithEndWithStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endWithStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax WithEndWithStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endWithStatement);
member this.WithEndWithStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax
Public Function WithEndWithStatement (endWithStatement As EndBlockStatementSyntax) As WithBlockSyntax

Parameters

endWithStatement
EndBlockStatementSyntax

Returns

Applies to