コード例 #1
0
 /// <summary>
 /// Remove a single element from the Vector. This method modifies the FREArray without making a copy.
 /// </summary>
 /// <param name="at">An Int that specifies the index of the element in the FREArray that is to be deleted.
 /// You can use a negative Int to specify a position relative to the end of the FREArray
 /// (for example, -1 for the last element of the Vector).</param>
 /// <returns>The element that was removed from the original FREArray</returns>
 public FREObject Remove(int at)
 {
     return(RawValue.Call("removeAt", at));
 }
コード例 #2
0
 /// <summary>
 /// Insert a single element into the FREArray.
 /// </summary>
 /// <param name="at">An uint that specifies the position in the Vector where the element is to be inserted.
 /// You can use a negative Int to specify a position relative to the end of the
 /// FREArray(for example, -1 for the last element of the FREArray)</param>
 /// <param name="value"></param>
 public void Insert(FREObject value, int at)
 {
     RawValue.Call("insertAt", at, value);
 }