Share via


ConstructorBlockSyntax.WithEndSubStatement(EndBlockStatementSyntax) Method

Definition

Returns a copy of this with the EndSubStatement 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::ConstructorBlockSyntax ^ WithEndSubStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSubStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax WithEndSubStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSubStatement);
member this.WithEndSubStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax
Public Function WithEndSubStatement (endSubStatement As EndBlockStatementSyntax) As ConstructorBlockSyntax

Parameters

endSubStatement
EndBlockStatementSyntax

Returns

Applies to