Udostępnij za pośrednictwem


SyntaxFactory.PartitionClause Method

Definition

Represents a "Skip" or "Take" query operator. The Kind property tells which.

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

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of PartitionClauseSyntax. One of SkipClause, TakeClause.

skipOrTakeKeyword
SyntaxToken

The "Skip" or "Take" keyword.

count
ExpressionSyntax

Represents the expression with the number of items to take or skip.

Returns

Applies to