Sdílet prostřednictvím


AssemblyInstaller.Path Vlastnost

Definice

Získá nebo nastaví cestu k sestavení k instalaci.

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

Hodnota vlastnosti

Cesta k sestavení, které se má nainstalovat.

Příklady

V následujícím příkladu se vytvoří AssemblyInstaller vyvoláním konstruktoru AssemblyInstaller . Vlastnosti Path tohoto objektu jsou nastaveny.

// 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"

Platí pro