共用方式為


LiteralExpressionSyntax.WithToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::LiteralExpressionSyntax ^ WithToken(Microsoft::CodeAnalysis::SyntaxToken token);
public Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax WithToken (Microsoft.CodeAnalysis.SyntaxToken token);
member this.WithToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax
Public Function WithToken (token As SyntaxToken) As LiteralExpressionSyntax

Parameters

token
SyntaxToken

Returns

Applies to