

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++ | F# |
public bool Contains( string component )
Public Function Contains ( component As String ) As Boolean
public: bool Contains( String^ component )
member Contains : component : string -> bool

- 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.11.1.2318)