VBCodeParser.IsDirectiveDefined(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定代码是否是定义的指令。
public bool IsDirectiveDefined (string directive);
member this.IsDirectiveDefined : string -> bool
Public Function IsDirectiveDefined (directive As String) As Boolean
参数
返回
如果代码是指令定义的,则为 true;否则为 false。
适用于