次の方法で共有


EventLogInstaller.IsEquivalentInstaller メソッド

指定したインストーラとこのインストーラが同じソースを参照しているかどうかを判断します。

Overrides Public Function IsEquivalentInstaller( _
   ByVal otherInstaller As ComponentInstaller _) As Boolean
[C#]
public override bool IsEquivalentInstaller(ComponentInstallerotherInstaller);
[C++]
public: bool IsEquivalentInstaller(ComponentInstaller* otherInstaller);
[JScript]
public override function IsEquivalentInstaller(
   otherInstaller : ComponentInstaller) : Boolean;

パラメータ

  • otherInstaller
    比較対象のインストーラ。

戻り値

対象となるインストーラと otherInstaller パラメータで指定されたインストーラが同じソースをインストールまたはアンインストールする場合は true 。それ以外の場合は false

解説

通常、コードからは EventLogInstaller のメソッドを呼び出しません。このメソッドを呼び出すのは、一般的にインストール ユーティリティの InstallUtil.exe だけです。

必要条件

プラットフォーム: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

EventLogInstaller クラス | EventLogInstaller メンバ | System.Diagnostics 名前空間 | CopyFromComponent