Udostępnij za pośrednictwem


VisualBasicSyntaxNode.GetDirectives Method

Definition

public System.Collections.Generic.IList<Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax> GetDirectives (Func<Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax,bool> filter = default);
member this.GetDirectives : Func<Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax, bool> -> System.Collections.Generic.IList<Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax>
Public Function GetDirectives (Optional filter As Func(Of DirectiveTriviaSyntax, Boolean) = Nothing) As IList(Of DirectiveTriviaSyntax)

Parameters

Returns

Applies to