MonobjcMonobjc Documented Class Library
Insert Method (index, item)
NamespacesMonobjc.FoundationNSArrayInsert(Int32, Id)
Inserts an item to the IList<(Of <(<'T>)>)> at the specified index.
Declaration Syntax
C#Visual BasicVisual C++
public virtual void Insert(
	int index,
	Id item
)
Public Overridable Sub Insert ( _
	index As Integer, _
	item As Id _
)
public:
virtual void Insert(
	int index, 
	Id^ item
)
Parameters
index (Int32)
The zero-based index at which item should be inserted.
item (Id)
The object to insert into the IList<(Of <(<'T>)>)>.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the IList<(Of <(<'T>)>)>.
NotSupportedExceptionThis instance is immutable
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)