Partager via


ImplementsStatementSyntax.WithTypes Method

Definition

Returns a copy of this with the Types 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::ImplementsStatementSyntax ^ WithTypes(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^> types);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax WithTypes (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax> types);
member this.WithTypes : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax
Public Function WithTypes (types As SeparatedSyntaxList(Of TypeSyntax)) As ImplementsStatementSyntax

Parameters

Returns

Applies to