Compartilhar via


VisualBasicExtensions.IsKind Método

Definição

Sobrecargas

IsKind(SyntaxNode, SyntaxKind)

Determina se SyntaxNode é de um tipo especificado.

IsKind(SyntaxNodeOrToken, SyntaxKind)

Determina se SyntaxNodeOrToken é de um tipo especificado.

IsKind(SyntaxToken, SyntaxKind)

Determina se SyntaxToken é de um tipo especificado.

IsKind(SyntaxTrivia, SyntaxKind)

Determina se SyntaxTrivia é de um tipo especificado.

IsKind(SyntaxNode, SyntaxKind)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Determina se SyntaxNode é de um tipo especificado.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKind(Microsoft::CodeAnalysis::SyntaxNode ^ node, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function IsKind (node As SyntaxNode, kind As SyntaxKind) As Boolean

Parâmetros

node
SyntaxNode

O nó de origem.

kind
SyntaxKind

O tipo de sintaxe para o qual testar.

Retornos

true se o nó for do tipo especificado; caso contrário, false.

Aplica-se a

IsKind(SyntaxNodeOrToken, SyntaxKind)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Determina se SyntaxNodeOrToken é de um tipo especificado.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKind(Microsoft::CodeAnalysis::SyntaxNodeOrToken nodeOrToken, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxNodeOrToken * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function IsKind (nodeOrToken As SyntaxNodeOrToken, kind As SyntaxKind) As Boolean

Parâmetros

nodeOrToken
SyntaxNodeOrToken

O nó de origem ou token.

kind
SyntaxKind

O tipo de sintaxe para o qual testar.

Retornos

true se o nó ou token for do tipo especificado; caso contrário, false.

Aplica-se a

IsKind(SyntaxToken, SyntaxKind)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Determina se SyntaxToken é de um tipo especificado.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKind(Microsoft::CodeAnalysis::SyntaxToken token, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function IsKind (token As SyntaxToken, kind As SyntaxKind) As Boolean

Parâmetros

token
SyntaxToken

O token de origem.

kind
SyntaxKind

O tipo de sintaxe para o qual testar.

Retornos

true se o token for do tipo especificado; caso contrário, false.

Aplica-se a

IsKind(SyntaxTrivia, SyntaxKind)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Determina se SyntaxTrivia é de um tipo especificado.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKind(Microsoft::CodeAnalysis::SyntaxTrivia trivia, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxTrivia trivia, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxTrivia * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function IsKind (trivia As SyntaxTrivia, kind As SyntaxKind) As Boolean

Parâmetros

trivia
SyntaxTrivia

As curiosidades de origem.

kind
SyntaxKind

O tipo de sintaxe para o qual testar.

Retornos

true se as curiosidades forem do tipo especificado; caso contrário, false.

Aplica-se a