語言

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

安裝商可以比較一下。

傳回

true 如果這個安裝程式和參數 otherInstaller 指定的安裝程式會安裝或卸載相同的原始碼;否則, false。

備註

通常,你不會在程式碼中呼叫 的方法 EventLogInstaller ;它們通常只會由安裝工具(Installutil.exe)呼叫。

適用於

另請參閱