Share via


DisplayModeCollection.GetEnumerator Method

Gets an enumerator that can iterate through the DisplayModeCollection.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public IEnumerator<DisplayMode> GetEnumerator ()

Return Value

Enumerator that can iterate through the DisplayModeCollection.

See Also

Reference

DisplayModeCollection Class
DisplayModeCollection Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP