Contains Method (item)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Contains Method (item)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.ResourcesResourceCollectionContains(Resource)
Tests if the collection contains an item.
Declaration Syntax
C# Visual Basic Visual C++ F#
public bool Contains(
	Resource item
)
Public Function Contains ( 
	item As Resource
) As Boolean
public:
virtual bool Contains(
	Resource^ item
) sealed
abstract Contains : 
        item : Resource -> bool 
override Contains : 
        item : Resource -> bool 
Parameters
item (Resource)
The Resource to search for.
Return Value
Boolean
true if the item is found; false otherwise

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