ForIn.JScriptGetEnumerator(Object) Method

Definition

Returns an enumerator that iterates through the specified collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::Collections::IEnumerator ^ JScriptGetEnumerator(System::Object ^ coll);
public static System.Collections.IEnumerator JScriptGetEnumerator (object coll);
static member JScriptGetEnumerator : obj -> System.Collections.IEnumerator
Public Shared Function JScriptGetEnumerator (coll As Object) As IEnumerator

Parameters

coll
Object

The collection for which to get an enumerator.

Returns

An enumerator that iterates through coll.

Remarks

If coll is a JSObject, this method iterates through the properties of the object.

Applies to

See also