AssemblyInstaller.Path Proprietà

Definizione

Ottiene o imposta il percorso dell'assembly da installare.

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

Valore della proprietà

Percorso dell'assembly da installare

Esempio

Nell'esempio seguente viene creato un oggetto AssemblyInstaller richiamando il AssemblyInstaller costruttore . Le Path proprietà di questo oggetto sono impostate.

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

Si applica a