Contains Method (feature)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Contains Method (feature)
Checks if the collection contains a feature.
Declaration Syntax
C# Visual Basic Visual C++ F#
public bool Contains(
	string feature
)
Public Function Contains ( 
	feature As String
) As Boolean
public:
bool Contains(
	String^ feature
)
member Contains : 
        feature : string -> bool 
Parameters
feature (String)
name of the feature
Return Value
Boolean
true if the feature is in the collection, else false

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