SyntaxFactory.PartitionClause Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.