EnumBlockSyntax.WithEnumStatement(EnumStatementSyntax) Method

Definition

Returns a copy of this with the EnumStatement 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 ^ WithEnumStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumStatementSyntax ^ enumStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax WithEnumStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax enumStatement);
member this.WithEnumStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax
Public Function WithEnumStatement (enumStatement As EnumStatementSyntax) As EnumBlockSyntax

Parameters

enumStatement
EnumStatementSyntax

Returns

Applies to