SyntaxFactory.RelationalCaseClause 方法

定义

重载

RelationalCaseClause(SyntaxKind, SyntaxToken, ExpressionSyntax)

表示 Case 语句中的关系子句,例如“Is > expression”。

RelationalCaseClause(SyntaxKind, SyntaxToken, SyntaxToken, ExpressionSyntax)

表示 Case 语句中的关系子句,例如“Is > expression”。

RelationalCaseClause(SyntaxKind, SyntaxToken, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示 Case 语句中的关系子句,例如“Is > expression”。

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

参数

kind
SyntaxKind

一个 SyntaxKind ,表示特定类型的 RelationalCaseClauseSyntax。 CaseEqualsClause、CaseNotEqualsClause、CaseLessThanClause、CaseLessThanOrEqualClause、CaseGreaterThanOrEqualClause、CaseGreaterThanClause 之一。

operatorToken
SyntaxToken

关系子句中的运算符。 “=”、“<”、“>”、“=”或“<>=”之一。

value
ExpressionSyntax

表示要测试的值的表达式。

返回

适用于

RelationalCaseClause(SyntaxKind, SyntaxToken, SyntaxToken, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示 Case 语句中的关系子句,例如“Is > expression”。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::RelationalCaseClauseSyntax ^ RelationalCaseClause(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken isKeyword, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ value);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.RelationalCaseClauseSyntax RelationalCaseClause (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken isKeyword, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax value);
static member RelationalCaseClause : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RelationalCaseClauseSyntax
Public Shared Function RelationalCaseClause (kind As SyntaxKind, isKeyword As SyntaxToken, operatorToken As SyntaxToken, value As ExpressionSyntax) As RelationalCaseClauseSyntax

参数

kind
SyntaxKind

一个 SyntaxKind ,表示特定类型的 RelationalCaseClauseSyntax。 CaseEqualsClause、CaseNotEqualsClause、CaseLessThanClause、CaseLessThanOrEqualClause、CaseGreaterThanOrEqualClause、CaseGreaterThanClause 之一。

isKeyword
SyntaxToken

“Is”关键字 (keyword) (如果存在)。

operatorToken
SyntaxToken

关系子句中的运算符。 “=”、“<”、“>”、“=”或“<>=”之一。

value
ExpressionSyntax

表示要测试的值的表达式。

返回

适用于