共用方式為


ClassStatementSyntax.WithTypeParameterList(TypeParameterListSyntax) Method

Definition

Returns a copy of this with the TypeParameterList 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::ClassStatementSyntax ^ WithTypeParameterList(Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeParameterListSyntax ^ typeParameterList);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassStatementSyntax WithTypeParameterList (Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeParameterListSyntax typeParameterList);
override this.WithTypeParameterList : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeParameterListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassStatementSyntax
Public Function WithTypeParameterList (typeParameterList As TypeParameterListSyntax) As ClassStatementSyntax

Parameters

typeParameterList
TypeParameterListSyntax

Returns

Applies to