PowerSNMP for .NET CF
Insert Method
See Also  Send comments on this topic.
Dart.Snmp Namespace > VariableCollection Class : Insert Method




index
The 0 based index where the Variable is to be inserted.
variable
A Variable to be inserted.
Adds a Variable to the collection at the specified index.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Insert( _
   ByVal index As Integer, _
   ByVal variable As Variable _
) 
Visual Basic (Usage)Copy Code
Dim instance As VariableCollection
Dim index As Integer
Dim variable As Variable
 
instance.Insert(index, variable)
C# 
public virtual void Insert( 
   int index,
   Variable variable
)
Managed Extensions for C++ 
public: virtual void Insert( 
   int index,
   Variable* variable
) 
C++/CLI 
public:
virtual void Insert( 
   int index,
   Variable^ variable
) 

Parameters

index
The 0 based index where the Variable is to be inserted.
variable
A Variable to be inserted.

Remarks

If index equals Count, the variable is appended to the list.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.