Deployment Tools Foundation
GetCost Method (installState)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ComponentInfo ► GetCost(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