Partilhar via


ClassBlockSyntax.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::ClassBlockSyntax ^ WithImplements(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImplementsStatementSyntax ^> implements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassBlockSyntax 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.ClassBlockSyntax
Public Function WithImplements (implements As SyntaxList(Of ImplementsStatementSyntax)) As ClassBlockSyntax

Parameters

Returns

Applies to