Partilhar via


SyntaxFactory.PartitionClause Método

Definição

Representa um operador de consulta "Skip" ou "Take". A propriedade Kind informa qual.

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

Parâmetros

kind
SyntaxKind

Um SyntaxKind que representa o tipo específico de PartitionClauseSyntax. Um de SkipClause, TakeClause.

skipOrTakeKeyword
SyntaxToken

O palavra-chave "Ignorar" ou "Tirar".

count
ExpressionSyntax

Representa a expressão com o número de itens a serem tomadas ou ignoradas.

Retornos

Aplica-se a