Contains Method (component)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Contains Method (component)
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

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