Share via


GetEnumerator Method

The GetEnumerator method of the SPWebPartCollection class returns an enumerator to iterate through the collection.

Return Value

A System.Collections.IEnumerator interface.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security