PrefixUnaryExpressionSyntax.WithOperatorToken(SyntaxToken) 方法

定义

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

参数

operatorToken
SyntaxToken

返回

适用于