GetEnumerator() Method

Syntax:

public IEnumerator GetEnumerator()

Description:

Provides an enumerator that allows simple iteration over the parameters stored in the parameter collection.

Parameters:

None

Return Value:

Type: System.Collections.IEnumerator

Returns an enumerator that can be used to iterate through the collection of parameters.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbParameterCollection.GetEnumerator