Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Ruft den Pfad der zu installierenden Assembly ab oder legt diesen fest.
Namespace: System.Configuration.Install
Assembly: System.Configuration.Install (in system.configuration.install.dll)
Syntax
'Declaration
Public Property Path As String
'Usage
Dim instance As AssemblyInstaller
Dim value As String
value = instance.Path
instance.Path = value
public string Path { get; set; }
public:
property String^ Path {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Path ()
/** @property */
public void set_Path (String value)
public function get Path () : String
public function set Path (value : String)
Eigenschaftenwert
Der Pfad der zu installierenden Assembly.
Beispiel
Im folgenden Beispiel wird ein AssemblyInstaller durch Aufrufen des AssemblyInstaller-Konstruktors erstellt. Die Path-Eigenschaften dieses Objekts werden festgelegt.
' 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"
// Create an object of the 'AssemblyInstaller' class.
AssemblyInstaller myAssemblyInstaller = new AssemblyInstaller();
// Set the path property of the AssemblyInstaller object.
myAssemblyInstaller.Path = "MyAssembly_Rollback.exe";
// Create an object of the 'AssemblyInstaller' class.
AssemblyInstaller^ myAssemblyInstaller = gcnew AssemblyInstaller;
// Set the path property of the AssemblyInstaller object.
myAssemblyInstaller->Path = "MyAssembly_Rollback.exe";
// Create an object of the 'AssemblyInstaller' class.
AssemblyInstaller myAssemblyInstaller = new AssemblyInstaller();
// Set the path property of the AssemblyInstaller object.
myAssemblyInstaller.set_Path("MyAssembly_Rollback.exe");
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter .
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
AssemblyInstaller-Klasse
AssemblyInstaller-Member
System.Configuration.Install-Namespace