共用方式為


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。

適用於