语言

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

要比较的安装程序。

返回

如果此安装程序和参数指定的 安装程序将安装或卸载相同的源,则为 否则为 。

注解

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

适用于

另请参阅