ValidStates Property

DTF API

Copy image CopyHover image
Deployment Tools Foundation ValidStates Property
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerFeatureInfoValidStates
Gets a list of valid installation states for the feature.
Declaration Syntax
C# Visual Basic Visual C++ F#
public ICollection<InstallState> ValidStates { get; }
Public ReadOnly Property ValidStates As ICollection(Of InstallState)
	Get
public:
property ICollection<InstallState>^ ValidStates {
	ICollection<InstallState>^ get ();
}
member ValidStates : ICollection<InstallState> with get
Property Value
ICollection < (Of < ( <' InstallState > ) > ) >
Remarks

Win32 MSI API: MsiGetFeatureValidStates

Exceptions
Exception Condition
InvalidHandleException the Session handle is invalid
ArgumentException an unknown feature was requested

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