

Deployment Tools Foundation
Contains Method (component)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ComponentInfoCollection ► Contains(String)
Checks if the collection contains a component.

C# | Visual Basic | Visual C++ |
public bool Contains( string component )
Public Function Contains ( component As String ) As Boolean
public: bool Contains( String^ component )

- component (String)
- name of the component

Boolean
true if the component is in the collection, else false
true if the component is in the collection, else false
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)