AssemblyInstaller.Path Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the path of the assembly to install.
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
Property Value
The path of the assembly to install.
Examples
In the following example, an AssemblyInstaller is created by invoking the AssemblyInstaller constructor. The Path properties of this object are set.
// 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"
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.