Partager via


VisualBasicSyntaxNode.GetDirectives Méthode

Définition

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)

Paramètres

Retours

S’applique à