NamedRange.GetEnumerator Method (2007 System)

Gets an IEnumerator that can be used to iterate over the cells in the NamedRange control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As NamedRange 
Dim returnValue As IEnumerator 

returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()
public:
IEnumerator^ GetEnumerator()
public function GetEnumerator() : IEnumerator

Return Value

Type: System.Collections.IEnumerator

.NET Framework Security

See Also

Reference

NamedRange Class

NamedRange Members

Microsoft.Office.Tools.Excel Namespace