GetCost Method (installState)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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
IList<(Of <(<'InstallCost>)>)>
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.dll) Version: 3.0.0.0 (3.9.1006.0)