Sdílet prostřednictvím


SyntaxNode.ContainsDirective(Int32) Method

Definition

Returns true if this node contains any directives (e.g. #if, #nullable, etc.) within it with a matching kind.

public bool ContainsDirective (int rawKind);
member this.ContainsDirective : int -> bool
Public Function ContainsDirective (rawKind As Integer) As Boolean

Parameters

rawKind
Int32

Returns

Applies to