CSharpCodeParser.TryGetDirectiveHandler(String, Action) Metoda

Definice

Tento typ/člen podporuje infrastrukturu rozhraní .NET Framework a není určen k použití přímo z vašeho kódu. Získá obslužnou rutinu direktivy.

protected bool TryGetDirectiveHandler (string directive, out Action handler);
member this.TryGetDirectiveHandler : string * Action -> bool
Protected Function TryGetDirectiveHandler (directive As String, ByRef handler As Action) As Boolean

Parametry

directive
String

Direktiva .

handler
Action

Obslužná rutina.

Návraty

true v případě úspěchu; jinak false.

Platí pro