AssemblyInstaller.Path Eigenschaft

Definition

Ruft den Pfad der zu installierenden Assembly ab oder legt diesen fest.

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String

Eigenschaftswert

Der Pfad der zu installierenden Assembly.

Beispiele

Im folgenden Beispiel wird ein AssemblyInstaller erstellt, indem der AssemblyInstaller Konstruktor aufgerufen wird. Die Path Eigenschaften dieses Objekts werden festgelegt.

// 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.Path = "MyAssembly_Rollback.exe";
' 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"

Gilt für: