Installer.Installers プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Installer.Installers プロパティの意味・解説 

Installer.Installers プロパティ

インストーラ格納しているインストーラコレクション取得します

名前空間: System.Configuration.Install
アセンブリ: System.Configuration.Install (system.configuration.install.dll 内)
構文構文

Public ReadOnly Property
 Installers As InstallerCollection
Dim instance As Installer
Dim value As InstallerCollection

value = instance.Installers
public InstallerCollection Installers { get;
 }
public:
property InstallerCollection^ Installers {
    InstallerCollection^ get ();
}
/** @property */
public InstallerCollection get_Installers ()
public function get Installers
 () : InstallerCollection

プロパティ
インストーラ関連付けられているインストーラコレクション格納している InstallerCollection。

解説解説
使用例使用例

Installers プロパティおよび Parent プロパティの例を次に示しますInstallers プロパティは、Installer関連付けられている InstallerCollection表示します

Dim myAssemblyInstaller As New
 AssemblyInstaller()
Dim myServiceInstaller As New
 ServiceInstaller()
Dim myEventLogInstaller As New
 EventLogInstaller()
Dim myInstallerCollection As InstallerCollection
 = _
                                       myAssemblyInstaller.Installers

' Add Installers to the InstallerCollection of 'myAssemblyInstaller'.
myInstallerCollection.Add(myServiceInstaller)
myInstallerCollection.Add(myEventLogInstaller)

Dim myInstaller(1) As Installer
myInstallerCollection.CopyTo(myInstaller, 0)
' Show the contents of the InstallerCollection of 'myAssemblyInstaller'.
Console.WriteLine("Installers in the InstallerCollection : ")
Dim iIndex As Integer
For iIndex = 0 To myInstaller.Length - 1
   Console.WriteLine(myInstaller(iIndex).ToString())
Next iIndex
AssemblyInstaller myAssemblyInstaller = new AssemblyInstaller();
ServiceInstaller myServiceInstaller = new ServiceInstaller();
EventLogInstaller myEventLogInstaller = new EventLogInstaller();

InstallerCollection myInstallerCollection = myAssemblyInstaller.Installers;

// Add Installers to the InstallerCollection of 'myAssemblyInstaller'.
myInstallerCollection.Add(myServiceInstaller);
myInstallerCollection.Add(myEventLogInstaller);

Installer[] myInstaller = new Installer[2];
myInstallerCollection.CopyTo(myInstaller,0);
// Show the contents of the InstallerCollection of 'myAssemblyInstaller'.
Console.WriteLine("Installers in the InstallerCollection
 : ");
for (int iIndex=0; iIndex < myInstaller.Length;
 iIndex++)
   Console.WriteLine(myInstaller[iIndex].ToString());
AssemblyInstaller^ myAssemblyInstaller = gcnew AssemblyInstaller;
ServiceInstaller^ myServiceInstaller = gcnew ServiceInstaller;
EventLogInstaller^ myEventLogInstaller = gcnew EventLogInstaller;

InstallerCollection^ myInstallerCollection = myAssemblyInstaller->Installers;

// Add Installers to the InstallerCollection of 'myAssemblyInstaller'.
myInstallerCollection->Add( myServiceInstaller );
myInstallerCollection->Add( myEventLogInstaller );

array<Installer^>^ myInstaller = gcnew array<Installer^>(2);
myInstallerCollection->CopyTo( myInstaller, 0 );
// Show the contents of the InstallerCollection of 'myAssemblyInstaller'.
Console::WriteLine( "Installers in the InstallerCollection
 : " );
for ( int iIndex = 0; iIndex < myInstaller->Length;
 iIndex++ )
   Console::WriteLine( myInstaller[ iIndex ]->ToString() );
AssemblyInstaller myAssemblyInstaller = new AssemblyInstaller();
ServiceInstaller myServiceInstaller = new ServiceInstaller();
EventLogInstaller myEventLogInstaller = new EventLogInstaller();
InstallerCollection myInstallerCollection 
    = myAssemblyInstaller.get_Installers();

// Add Installers to the InstallerCollection of 'myAssemblyInstaller'.
myInstallerCollection.Add(myServiceInstaller);
myInstallerCollection.Add(myEventLogInstaller);
Installer myInstaller[] = new Installer[2];
myInstallerCollection.CopyTo(myInstaller, 0);

//Show the contents of the InstallerCollection of 'myAssemblyInstaller'.
Console.WriteLine("Installers in the InstallerCollection
 : ");
for (int iIndex = 0; iIndex < myInstaller.length;
 iIndex++) {
    Console.WriteLine(myInstaller.get_Item(iIndex).ToString());
}  
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Installer クラス
Installer メンバ
System.Configuration.Install 名前空間
AssemblyInstaller クラス
Commit
ComponentInstaller クラス
Install
InstallerCollection
Parent
Rollback
TransactedInstaller
Uninstall


このページでは「.NET Framework クラス ライブラリ リファレンス」からInstaller.Installers プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からInstaller.Installers プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からInstaller.Installers プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「Installer.Installers プロパティ」の関連用語

Installer.Installers プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Installer.Installers プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS