Determines whether the phone book contains the entry specified.
Namespace: DotRas.Design
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
---|
public bool Contains(
TObject item
) |
Visual Basic |
---|
Public Function Contains (
item As TObject
) As Boolean |
Visual C++ |
---|
public:
virtual bool Contains(
TObject item
) sealed |
F# |
---|
abstract Contains :
item : 'TObject -> bool
override Contains :
item : 'TObject -> bool |
Parameters
- item
- Type: TObject
Required. The object to locate within the collection.
Return Value
Type:
Booleantrue if the item was found, otherwise
false.
Implements
ICollection<(Of <(<'T>)>)>..::..Contains(T)
Exceptions
See Also