Partilhar via


VisualBasicExtensions.ContainsDirective(SyntaxNode, SyntaxKind) Método

Definição

Retornará true se esse nó contiver diretivas (por exemplo #if, , #nullableetc.) dentro dele com um tipo correspondente.

public static bool ContainsDirective (this Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member ContainsDirective : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function ContainsDirective (node As SyntaxNode, kind As SyntaxKind) As Boolean

Parâmetros

node
SyntaxNode
kind
SyntaxKind

Retornos

Aplica-se a