语言英语
  • C#

CompilationPipeline.IsDefineConstraintsCompatible

声明

public static bool IsDefineConstraintsCompatible(string[] defines, string[] defineConstraints);

参数

defines #define 指令的字符串数组。
defineConstraints 要检查兼容性的 #define 指令的字符串数组。

返回值

bool 如果指定的 #define 约束条件由指定的 #define 指令满足,则返回 True。否则返回 False。

描述

允许您测试指定的 #define 约束条件是否由指定的 #define 指令列表满足。

其他资源:AssemblyCompilationPipeline


Did you find this page useful? Please give it a rating: