Condividi tramite


GenericNameSyntax.Update(SyntaxToken, TypeArgumentListSyntax) 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::GenericNameSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeArgumentListSyntax ^ typeArgumentList);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.GenericNameSyntax Update (Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeArgumentListSyntax typeArgumentList);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeArgumentListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GenericNameSyntax
Public Function Update (identifier As SyntaxToken, typeArgumentList As TypeArgumentListSyntax) As GenericNameSyntax

Parameters

identifier
SyntaxToken

The value for the Identifier property.

typeArgumentList
TypeArgumentListSyntax

The value for the TypeArgumentList property.

Returns

Applies to