Contains Method (item)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Contains Method (item)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSourceListContains(String)
Checks if the specified source exists in the list.
Declaration Syntax
C# Visual Basic Visual C++ F#
public bool Contains(
	string item
)
Public Function Contains ( 
	item As String
) As Boolean
public:
virtual bool Contains(
	String^ item
) sealed
abstract Contains : 
        item : string -> bool 
override Contains : 
        item : string -> bool 
Parameters
item (String)
case-insensitive source to look for
Return Value
Boolean
true if the source exists in the list, false otherwise

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