Contains Method (component)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Contains Method (component)
Checks if the collection contains a component.
Declaration Syntax
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 
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.11.1.2318)