共用方式為


UnaryPatternSyntax.WithOperatorToken(SyntaxToken) Method

Definition

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

Parameters

operatorToken
SyntaxToken

Returns

Applies to