共用方式為


NameEqualsSyntax.Update(IdentifierNameSyntax, SyntaxToken) Method

Definition

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

Parameters

equalsToken
SyntaxToken

Returns

Applies to