SyntaxFactory.PartitionClause 方法

定义

表示“Skip”或“Take”查询运算符。 Kind 属性指示哪个。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::PartitionClauseSyntax ^ PartitionClause(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken skipOrTakeKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ count);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.PartitionClauseSyntax PartitionClause (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken skipOrTakeKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax count);
static member PartitionClause : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.PartitionClauseSyntax
Public Shared Function PartitionClause (kind As SyntaxKind, skipOrTakeKeyword As SyntaxToken, count As ExpressionSyntax) As PartitionClauseSyntax

参数

kind
SyntaxKind

一个 SyntaxKind ,表示特定类型的 PartitionClauseSyntax。 SkipClause 之一,TakeClause。

skipOrTakeKeyword
SyntaxToken

“Skip”或“Take”关键字 (keyword) 。

count
ExpressionSyntax

表示具有要接受或跳过的项数的表达式。

返回

适用于