OPC Studio User's Guide and Reference
InsertItem Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.NodeSpace Namespace > NodeCollection Class : InsertItem Method
Syntax
'Declaration
 
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As Node _
) 
'Usage
 
Dim instance As NodeCollection
Dim index As Integer
Dim item As Node
 
instance.InsertItem(index, item)
protected override void InsertItem( 
   int index,
   Node item
)
protected:
void InsertItem( 
   int index,
   Node^ item
) override 

Parameters

index
item
Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

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.

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.

One of the arguments provided to a method is not valid.

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.

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.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also