ClassBlockSyntax.WithEndClassStatement(EndBlockStatementSyntax) Method

Definition

Returns a copy of this with the EndClassStatement 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::ClassBlockSyntax ^ WithEndClassStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endClassStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassBlockSyntax WithEndClassStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endClassStatement);
member this.WithEndClassStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassBlockSyntax
Public Function WithEndClassStatement (endClassStatement As EndBlockStatementSyntax) As ClassBlockSyntax

Parameters

endClassStatement
EndBlockStatementSyntax

Returns

Applies to