Spread Windows Forms 9.0 Product Documentation
Insert Method (FpScrollBarButtonCollection)


The zero-based index at which value should be inserted
The System.Object to insert into the System.Collections.IList
Inserts an item to the System.Collections.IList at the specified index.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As FpScrollBarButtonCollection
Dim index As Integer
Dim value As Object
 
instance.Insert(index, value)
public void Insert( 
   int index,
   object value
)

Parameters

index
The zero-based index at which value should be inserted
value
The System.Object to insert into the System.Collections.IList
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is not a valid index in the System.Collections.IList.
System.NotSupportedExceptionThe System.Collections.IList is read-only.-or- The System.Collections.IList has a fixed size.
System.NullReferenceExceptionvalue is null reference in the System.Collections.IList.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FpScrollBarButtonCollection Class
FpScrollBarButtonCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.