Leer en inglés

Compartir a través de


SyntaxNode.ContainsDirective(Int32) Método

Definición

Devuelve true si este nodo contiene directivas (por ejemplo #if, , #nullable, etc.) dentro de él con un tipo coincidente.

C#
public bool ContainsDirective(int rawKind);

Parámetros

rawKind
Int32

Devoluciones

Se aplica a

Producto Versiones
Roslyn 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0