CompilerInfo.Equals(Object) 方法
定义
确定指定的对象是否表示与当前 CompilerInfo 相同的语言提供程序和编译器设置。Determines whether the specified object represents the same language provider and compiler settings as the current CompilerInfo.
public:
override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
参数
- o
- Object
将与当前 CompilerInfo 进行比较的对象。The object to compare with the current CompilerInfo.
返回
如果 o 为 CompilerInfo 对象并且它的值与此实例相同,则为 true;否则为 false。true if o is a CompilerInfo object and its value is the same as this instance; otherwise, false.
注解
此方法将重写 Object.Equals(Object) 方法。This method overrides the Object.Equals(Object) method.
如果以下属性的值相等,则将两个实例视为相等:The two instances are considered equal if the values of the following properties are equal:
CodeDomProviderType 属性。The CodeDomProviderType property.
WarningLevel CompilerOptions 方法返回的实例的、和 IncludeDebugInformation 属性 CompilerParameters CreateDefaultCompilerParameters 。The WarningLevel, CompilerOptions, and IncludeDebugInformation properties of the CompilerParameters instance returned by the CreateDefaultCompilerParameters method.