다음을 통해 공유


SyntaxFactory.UnaryExpression 메서드

정의

단항 연산자인 Plus, Negate, Not 또는 AddressOf를 설명합니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::UnaryExpressionSyntax ^ UnaryExpression(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ operand);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.UnaryExpressionSyntax UnaryExpression (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax operand);
static member UnaryExpression : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.UnaryExpressionSyntax
Public Shared Function UnaryExpression (kind As SyntaxKind, operatorToken As SyntaxToken, operand As ExpressionSyntax) As UnaryExpressionSyntax

매개 변수

kind
SyntaxKind

SyntaxKind 특정 종류의 UnaryExpressionSyntax를 나타내는 입니다. UnaryPlusExpression, UnaryMinusExpression, NotExpression, AddressOfExpression 중 하나입니다.

operatorToken
SyntaxToken

연산자인 토큰입니다.

operand
ExpressionSyntax

작동 중인 식입니다.

반환

적용 대상