Bewerken

Share via


SqlErrorCollection.GetEnumerator Method

Definition

Returns an enumerator that iterates through the SqlErrorCollection.

public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();
public System.Collections.IEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

Returns

An IEnumerator for the SqlErrorCollection.

Implements

Remarks

Enumerators can be used to read the data in a collection, but they cannot be used to modify the underlying collection.

Applies to

See also