GetCost Method (installState)

Microsoft Deployment Tools

Deployment Tools Foundation GetCost Method (installState)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerComponentInfoGetCost(InstallState)
Gets disk space per drive required to install a component.
Declaration Syntax
C# Visual Basic Visual C++
public IList<InstallCost> GetCost(
	InstallState installState
)
Public Function GetCost ( _
	installState As InstallState _
) As IList(Of InstallCost)
public:
IList<InstallCost>^ GetCost(
	InstallState installState
)
Parameters
installState (InstallState)
Requested component state
Return Value
A list of InstallCost structures, specifying the cost for each drive for the component
Remarks

Win32 MSI API: MsiEnumComponentCosts

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)