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
C# | Visual Basic | Visual C++ |
public bool Contains( string component )
Public Function Contains ( component As String ) As Boolean
public: bool Contains( String^ component )
Parameters
- component (String)
- name of the component
Return Value
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)