C1.Xamarin.Forms.Gauge Assembly / C1.Xamarin.Forms.Gauge Namespace / GaugeRangeCollection Class / InsertItem Method
The zero-based index at which item should be inserted.
The range to be inserted.


InsertItem Method
Inserts an element into the Collection at the specified index.
Syntax
'Declaration
 
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal range As GaugeRange _
) 
 
'Usage
 
Dim instance As GaugeRangeCollection
Dim index As Integer
Dim range As GaugeRange
 
instance.InsertItem(index, range)

Parameters

index
The zero-based index at which item should be inserted.
range
The range to be inserted.
Exceptions
ExceptionDescription
index is less than zero. -or- index is greater than Count.
See Also