Deployment Tools Foundation
Contains Method (component)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ComponentInfoCollection ► Contains(String)
Checks if the collection contains a component.
Declaration Syntax
Parameters- component (String)
- name of the component
Return Valuetrue if the component is in the collection, else false