Partilhar via


DirectiveTriviaSyntax.GetPreviousDirective Method

Definition

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

Parameters

Returns

Applies to