WCF-Xtensions Class Reference for Mono
Insert Method (JArray)






The zero-based index at which item should be inserted.
The object to insert into the System.Collections.Generic.IList`1.
Inserts an item to the System.Collections.Generic.IList`1 at the specified index.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As System.Integer, _
   ByVal item As JToken _
) 
'Usage
 
Dim instance As JArray
Dim index As System.Integer
Dim item As JToken
 
instance.Insert(index, item)
public void Insert( 
   System.int index,
   JToken item
)
public procedure Insert( 
    index: System.Integer;
    item: JToken
); 
public function Insert( 
   index : System.int,
   item : JToken
);
public: void Insert( 
   System.int index,
   JToken* item
) 
public:
void Insert( 
   System.int index,
   JToken^ item
) 

Parameters

index
The zero-based index at which item should be inserted.
item
The object to insert into the System.Collections.Generic.IList`1.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is not a valid index in the System.Collections.Generic.IList`1.
System.NotSupportedExceptionThe System.Collections.Generic.IList`1 is read-only.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JArray Class
JArray Members

Send Feedback