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++ | F# |
public IList<InstallCost> GetCost( InstallState installState )
Public Function GetCost ( installState As InstallState ) As IList(Of InstallCost)
public: IList<InstallCost>^ GetCost( InstallState installState )
member GetCost : installState : InstallState -> IList<InstallCost>
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
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.11.1.2318)