다음을 통해 공유


SyntaxFactory.BinaryExpression 메서드

정의

이진 연산자를 나타냅니다. Kind 속성은 연산자를 비슷한 종류의 연산자(산술, 관계형, 논리 또는 문자열)로 분류합니다. 수행 중인 정확한 작업은 Operator 속성에 의해 결정됩니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::BinaryExpressionSyntax ^ BinaryExpression(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ left, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ right);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.BinaryExpressionSyntax BinaryExpression (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax right);
static member BinaryExpression : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.BinaryExpressionSyntax
Public Shared Function BinaryExpression (kind As SyntaxKind, left As ExpressionSyntax, operatorToken As SyntaxToken, right As ExpressionSyntax) As BinaryExpressionSyntax

매개 변수

kind
SyntaxKind

SyntaxKind 특정 종류의 BinaryExpressionSyntax를 나타내는 입니다. AddExpression, SubtractExpression, MultiplyExpression, DivideExpression, IntegerDivideExpression, ExponentiateExpression, LeftShiftExpression, RightShiftExpression 중 하나 ConcatenateExpression, ModuloExpression, EqualsExpression, NotEqualsExpression, LessThanExpression, LessThanOrEqualExpression, GreaterThanOrEqualExpression, GreaterThanExpression, IsExpression, IsNotExpression, LikeExpression, OrExpression, ExclusiveOrExpression, AndExpression, OrElseExpression, AndAlsoExpression.

left
ExpressionSyntax

왼쪽 피연산자입니다.

operatorToken
SyntaxToken
right
ExpressionSyntax

오른쪽 피연산자입니다.

반환

적용 대상