Partager via


InheritsStatementSyntax.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::InheritsStatementSyntax ^ WithTypes(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^> types);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax 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.InheritsStatementSyntax
Public Function WithTypes (types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax

Parameters

Returns

Applies to