ArrayPrototype Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Provides static methods and properties for ArrayObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
Microsoft.JScript.ScriptObject
Microsoft.JScript.JSObject
Microsoft.JScript.ArrayObject
Microsoft.JScript.ArrayPrototype
Microsoft.JScript.LenientArrayPrototype
| Name | Description | |
|---|---|---|
![]() ![]() | constructor | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a prototype-based object that is using this prototype. |
![]() | Item(Double) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a member of the script object that is designated by the specified Double index value.(Inherited from ScriptObject.) |
![]() | Item(Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a member of the script object that is designated by the specified Int32 index value.(Inherited from ScriptObject.) |
![]() | Item(Object[]) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value.(Inherited from ScriptObject.) |
![]() | Item(String) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a member of the script object that is designated by the specified name.(Inherited from ScriptObject.) |
![]() | length | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the length of the array.(Inherited from ArrayObject.) |
![]() | UnderlyingSystemType | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the type of the script object.(Inherited from ScriptObject.) |
| Name | Description | |
|---|---|---|
![]() | AddField(String) | This API supports the product infrastructure and is not intended to be used directly from your code. Adds the specified field to the object.(Inherited from JSObject.) |
![]() ![]() | concat(Object, VsaEngine, Object[]) | This API supports the product infrastructure and is not intended to be used directly from your code. Concatenates objects or arrays to the end of the specified object or array. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetField(String, BindingFlags) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a field that has the specified name.(Inherited from ScriptObject.) |
![]() | GetFields(BindingFlags) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of FieldInfo objects that correspond to all fields of the current script object.(Inherited from ScriptObject.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetMember(String, BindingFlags) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of MemberInfo objects that correspond to all members that match the specified name.(Inherited from JSObject.) |
![]() | GetMembers(BindingFlags) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of MemberInfo objects that correspond to all members of the current script object.(Inherited from JSObject.) |
![]() | GetMethod(String, BindingFlags) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a method that has the specified name.(Inherited from ScriptObject.) |
![]() | GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a method that has the specified name by using the specified selection criteria.(Inherited from ScriptObject.) |
![]() | GetMethods(BindingFlags) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of MethodInfo objects that correspond to all methods of the current script object.(Inherited from ScriptObject.) |
![]() | GetParent() | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to the parent object.(Inherited from ScriptObject.) |
![]() | GetProperties(BindingFlags) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of PropertyInfo objects that correspond to all properties of the current script object.(Inherited from ScriptObject.) |
![]() | GetProperty(String, BindingFlags) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a property that has the specified name.(Inherited from ScriptObject.) |
![]() | GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a property that has the specified name by using the specified selection criteria.(Inherited from ScriptObject.) |
![]() | GetType() | |
![]() | InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) | This API supports the product infrastructure and is not intended to be used directly from your code. Invokes the specified member.(Inherited from ScriptObject.) |
![]() ![]() | join(Object, Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Concatenates the elements of the specified array into a string. The elements are separated by the specified separator. |
![]() | MemberwiseClone() | |
![]() ![]() | pop(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Removes the last element from the specified array and returns it. |
![]() ![]() | push(Object, Object[]) | This API supports the product infrastructure and is not intended to be used directly from your code. Adds new elements to the end of the specified array. |
![]() ![]() | reverse(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Reverses the elements of the specified array. |
![]() | SetMemberValue2(String, Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Sets the value of a field that was dynamically added to the object and stored in field_table.(Inherited from JSObject.) |
![]() ![]() | shift(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Removes the first element from the specified array and returns it. Shifts the remaining elements to the previous positions. |
![]() ![]() | slice(Object, VsaEngine, Double, Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new array that contains the specified consecutive elements from the specified array. |
![]() ![]() | sort(Object, Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Sorts the elements of the specified array by using the specified function to compare the elements. |
![]() ![]() | splice(Object, VsaEngine, Double, Double, Object[]) | This API supports the product infrastructure and is not intended to be used directly from your code. Adds and removes elements from an array at the specified position in the array. You can add elements, remove elements, or both. |
![]() | SpliceSlowly(UInt32, UInt32, Object[], ArrayObject, UInt32, UInt32) | This API supports the product infrastructure and is not intended to be used directly from your code. Adds elements to and removes elements from an array, at the specified position in the array. You can add elements, remove elements, or both.(Inherited from ArrayObject.) |
![]() ![]() | toLocaleString(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a string representation of the specified object that concatenates the elements and separates them with a ListSeparator and a space. |
![]() | ToString() | This API supports the product infrastructure and is not intended to be used directly from your code. Returns a string that represents the current object.(Inherited from JSObject.) |
![]() ![]() | toString(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a string representation of the specified object that concatenates the elements and separates them with a comma. |
![]() ![]() | unshift(Object, Object[]) | This API supports the product infrastructure and is not intended to be used directly from your code. Adds new elements to the start of the specified array. Shifts the existing elements to the next positions. |
| Name | Description | |
|---|---|---|
![]() | engine | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to the scripting engine.(Inherited from ScriptObject.) |
![]() | field_table | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a list of fields that are dynamically added and removed from the object.(Inherited from JSObject.) |
![]() | parent | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to the parent object.(Inherited from ScriptObject.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable.GetEnumerator() | This API supports the product infrastructure and is not intended to be used directly from your code. Returns an enumerator that iterates through the members of the object.(Inherited from JSObject.) |
![]() ![]() | IExpando.AddMethod(String, Delegate) | This API supports the product infrastructure and is not intended to be used directly from your code. Adds the specified method to the object. IExpando.AddMethod is not implemented in JScript.(Inherited from JSObject.) |
![]() ![]() | IExpando.AddProperty(String) | This API supports the product infrastructure and is not intended to be used directly from your code. Adds the specified property to the object. This method is not implemented in JScript.(Inherited from JSObject.) |
![]() ![]() | IExpando.RemoveMember(MemberInfo) | This API supports the product infrastructure and is not intended to be used directly from your code. Removes the specified member from the object.(Inherited from JSObject.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<'TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<'TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







