EnumBlockSyntax.WithEndEnumStatement(EndBlockStatementSyntax) Method

Definition

Returns a copy of this with the EndEnumStatement 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::EnumBlockSyntax ^ WithEndEnumStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endEnumStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax WithEndEnumStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endEnumStatement);
member this.WithEndEnumStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax
Public Function WithEndEnumStatement (endEnumStatement As EndBlockStatementSyntax) As EnumBlockSyntax

Parameters

endEnumStatement
EndBlockStatementSyntax

Returns

Applies to