Freigeben über


VisualBasicSyntaxNode.GetFirstDirective Methode

Definition

public Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax GetFirstDirective (Func<Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax,bool> predicate = default);
member this.GetFirstDirective : Func<Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax, bool> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax
Public Function GetFirstDirective (Optional predicate As Func(Of DirectiveTriviaSyntax, Boolean) = Nothing) As DirectiveTriviaSyntax

Parameter

Gibt zurück

Gilt für: