[This is preliminary documentation and is subject to change.]

Inserts an item to the IList<(Of <(T>)>) at the specified index.

Namespace:  Facebook.Json.Linq
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public void Insert(
	int index,
	JToken item
)
Visual Basic (Declaration)
Public Sub Insert ( _
	index As Integer, _
	item As JToken _
)
Visual C++
public:
virtual void Insert(
	int index, 
	JToken^ item
) sealed

Parameters

index
Type: System..::.Int32
The zero-based index at which item should be inserted.
item
Type: Facebook.Json.Linq..::.JToken
The object to insert into the IList<(Of <(T>)>).

Implements

IList<(Of <(T>)>)..::.Insert(Int32, T)

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException index is not a valid index in the IList<(Of <(T>)>).
System..::.NotSupportedExceptionThe IList<(Of <(T>)>) is read-only.

See Also

JArray Class
Facebook.Json.Linq Namespace