Contains Method (item)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Contains Method (item)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerTableCollectionContains(String)
Checks if the database contains a table with the given name.
Declaration Syntax
C# Visual Basic Visual C++ F#
public bool Contains(
	string item
)
Public Function Contains ( 
	item As String
) As Boolean
public:
bool Contains(
	String^ item
)
member Contains : 
        item : string -> bool 
Parameters
item (String)
case-sensitive name of the table to search for
Return Value
Boolean
True if the table exists, false otherwise.

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