다음을 통해 공유


VisualBasicSyntaxNode.GetFirstDirective 메서드

정의

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

매개 변수

반환

적용 대상