MonobjcMonobjc Documented Class Library
Insert Method (index, item)
NamespacesMonobjc.FoundationNSMutableArrayInsert(Int32, Id)
Inserts an item to the IList<(Of <(<'T>)>)> at the specified index.
Declaration Syntax
C#Visual BasicVisual C++
public override void Insert(
	int index,
	Id item
)
Public Overrides Sub Insert ( _
	index As Integer, _
	item As Id _
)
public:
virtual void Insert(
	int index, 
	Id^ item
) override
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
NotSupportedExceptionThe IList<(Of <(<'T>)>)> is read-only.
ArgumentOutOfRangeExceptionindex is not a valid index in the IList<(Of <(<'T>)>)>.
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)