Share via


ParameterSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ParameterSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::VisualBasic::Syntax::ModifiedIdentifierSyntax ^ identifier, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause, Microsoft::CodeAnalysis::VisualBasic::Syntax::EqualsValueSyntax ^ default);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ParameterSyntax Update (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax identifier, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause, Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax default);
member this.Update : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ParameterSyntax
Public Function Update (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, default As EqualsValueSyntax) As ParameterSyntax

Parameters

attributeLists
SyntaxList<AttributeListSyntax>

The value for the AttributeLists property.

modifiers
SyntaxTokenList

The value for the Modifiers property.

identifier
ModifiedIdentifierSyntax

The value for the Identifier property.

asClause
SimpleAsClauseSyntax

The value for the AsClause property.

default
EqualsValueSyntax

The value for the Default property.

Returns

Applies to