InstallPath Constructor (name, useShortNames)

DTF API

Copy image CopyHover image
Deployment Tools Foundation InstallPath Constructor (name, useShortNames)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPathInstallPath(String, Boolean)
Creates a new InstallPath, parsing out either the short or long filename.
Declaration Syntax
C# Visual Basic Visual C++ F#
public InstallPath(
	string name,
	bool useShortNames
)
Public Sub New ( 
	name As String,
	useShortNames As Boolean
)
public:
InstallPath(
	String^ name, 
	bool useShortNames
)
new : 
        name : string * 
        useShortNames : bool -> InstallPath
Parameters
name (String)
The name of the file or directory, in short|long syntax for a filename or targetshort|targetlong:sourceshort|sourcelong syntax for a directory.
useShortNames (Boolean)
true to parse the short part of the combined filename; false to parse the long part

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)