インストールするアセンブリのパスを取得または設定します。
Public Property Path As String
[C#]
public string Path {get; set;}
[C++]
public: __property String* get_Path();public: __property void set_Path(String*);
[JScript]
public function get Path() : String;public function set Path(String);
プロパティ値
インストールするアセンブリのパス。
使用例
[Visual Basic, C#, C++] 次の例では、 AssemblyInstaller コンストラクタの呼び出しによって AssemblyInstaller が作成されます。このオブジェクトの Path プロパティが設定されます。
' Create an object of the 'AssemblyInstaller' class.
Dim myAssemblyInstaller As New AssemblyInstaller()
' Set the path property of the AssemblyInstaller object.
myAssemblyInstaller.Path = "MyAssembly_Rollback.exe"
[C#]
// Create an object of the 'AssemblyInstaller' class.
AssemblyInstaller myAssemblyInstaller = new AssemblyInstaller();
// Set the path property of the AssemblyInstaller object.
myAssemblyInstaller.Path = "MyAssembly_Rollback.exe";
[C++]
// Create an object of the 'AssemblyInstaller' class.
AssemblyInstaller* myAssemblyInstaller = new AssemblyInstaller();
// Set the path property of the AssemblyInstaller object.
myAssemblyInstaller->Path = S"MyAssembly_Rollback.exe";
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- 直前の呼び出し元の完全信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細の参照先 : 部分信頼コードからのライブラリの使用
参照
AssemblyInstaller クラス | AssemblyInstaller メンバ | System.Configuration.Install 名前空間