SyntaxFactory.RelationalCaseClause 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RelationalCaseClause(SyntaxKind, SyntaxToken, ExpressionSyntax) |
表示 Case 語句中的 relation 子句,例如 「Is > expression」。 |
RelationalCaseClause(SyntaxKind, SyntaxToken, SyntaxToken, ExpressionSyntax) |
表示 Case 語句中的 relation 子句,例如 「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 語句中的 relation 子句,例如 「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 語句中的 relation 子句,例如 「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」 關鍵字。
- operatorToken
- SyntaxToken
關係子句中的 運算子。 其中一個是 「=」、「 < 」、「 > 」、「 < =」 或 「 > =」。
- value
- ExpressionSyntax
表示所測試值的運算式。