VBCodeParser.IsDirectiveDefined(String) 方法

定义

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定代码是否是定义的指令。

public bool IsDirectiveDefined (string directive);
member this.IsDirectiveDefined : string -> bool
Public Function IsDirectiveDefined (directive As String) As Boolean

参数

directive
String

指令。

返回

如果代码是指令定义的,则为 true;否则为 false。

适用于