'UsageDim instance As _UABrowsePathElementCollection Dim item As Object Dim value As Boolean value = instance.Contains(item)
Parameters
- item
The value of this parameter cannot be
null(Nothingin Visual Basic).
The value of this parameter cannot be null (Nothing in Visual Basic).
'UsageDim instance As _UABrowsePathElementCollection Dim item As Object Dim value As Boolean value = instance.Contains(item)
The value of this parameter cannot be null (Nothing in Visual Basic).
| Exception | Description |
|---|---|
| System.ArgumentNullException |
A This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
| System.InvalidCastException | An invalid casting or explicit conversion has been attempted. This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.