'UsageDim instance As _UABrowsePathElementCollection Dim index As Integer Dim item As Object instance.Insert(index, item)
Parameters
- index
- 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 index As Integer Dim item As Object instance.Insert(index, 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.ArgumentOutOfRangeException | The value of an argument is outside the allowable range of values as defined by the invoked method. 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.