語言

ServiceInstaller.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

ComponentInstaller你比較現有安裝商的A。

傳回

true如果呼叫Install(IDictionary)這兩個安裝程式會安裝相同的服務;否則, false

備註

IsEquivalentInstaller 例如,會顯示兩個安裝程式是否會在相同使用者帳號下安裝相同的服務。

適用於

另請參閱