Share via


EventLogInstaller.IsEquivalentInstaller(ComponentInstaller) 方法

定义

确定安装程序和指定的另一个安装程序是否引用同一个源。

public:
 override bool IsEquivalentInstaller(System::Configuration::Install::ComponentInstaller ^ otherInstaller);
public override bool IsEquivalentInstaller (System.Configuration.Install.ComponentInstaller otherInstaller);
override this.IsEquivalentInstaller : System.Configuration.Install.ComponentInstaller -> bool
Public Overrides Function IsEquivalentInstaller (otherInstaller As ComponentInstaller) As Boolean

参数

otherInstaller
ComponentInstaller

要比较的安装程序。

返回

如果当前安装程序和由 otherInstaller 参数指定的安装程序安装或卸载相同的源,则为 true;否则为 false

注解

通常,你不会从代码中调用 的方法 EventLogInstaller ;它们通常仅由安装程序工具 (Installutil.exe) 调用。

适用于

另请参阅