CSharpCodeParser.TryGetDirectiveHandler(String, Action) 方法

定义

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。获取指令处理程序。

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

参数

directive
String

指令。

handler
Action

处理程序。

返回

如果成功,则为 true;否则为 false。

适用于