Partilhar via


ModuleBlockSyntax.WithImplements Method

Definition

Returns a copy of this with the [Implements] 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::ModuleBlockSyntax ^ WithImplements(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImplementsStatementSyntax ^> implements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax WithImplements (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> implements);
override this.WithImplements : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax
Public Function WithImplements (implements As SyntaxList(Of ImplementsStatementSyntax)) As ModuleBlockSyntax

Parameters

Returns

Applies to