共用方式為


MethodStatementSyntax.WithParameterList(ParameterListSyntax) Method

Definition

Returns a copy of this with the ParameterList 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::MethodStatementSyntax ^ WithParameterList(Microsoft::CodeAnalysis::VisualBasic::Syntax::ParameterListSyntax ^ parameterList);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax WithParameterList (Microsoft.CodeAnalysis.VisualBasic.Syntax.ParameterListSyntax parameterList);
override this.WithParameterList : Microsoft.CodeAnalysis.VisualBasic.Syntax.ParameterListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax
Public Function WithParameterList (parameterList As ParameterListSyntax) As MethodStatementSyntax

Parameters

parameterList
ParameterListSyntax

Returns

Applies to