共用方式為


OperatorDeclarationSyntax.WithOperatorToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::OperatorDeclarationSyntax ^ WithOperatorToken(Microsoft::CodeAnalysis::SyntaxToken operatorToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.OperatorDeclarationSyntax WithOperatorToken (Microsoft.CodeAnalysis.SyntaxToken operatorToken);
member this.WithOperatorToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.OperatorDeclarationSyntax
Public Function WithOperatorToken (operatorToken As SyntaxToken) As OperatorDeclarationSyntax

Parameters

operatorToken
SyntaxToken

Returns

Applies to