共用方式為


NameColonSyntax.Update(IdentifierNameSyntax, SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::NameColonSyntax ^ Update(Microsoft::CodeAnalysis::CSharp::Syntax::IdentifierNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax Update (Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken colonToken);
member this.Update : Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax
Public Function Update (name As IdentifierNameSyntax, colonToken As SyntaxToken) As NameColonSyntax

Parameters

colonToken
SyntaxToken

Returns

Applies to