Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Returns the named ranges of the Workbook as an array of NamedObject objects as an

Msdn
System.Collections.IEnumerable

|IEnumerable}

System.Collections.IEnumerable
1IEnumerable
collection.

Though

the

named

ranges

are

not

returned

in

any

particular

order,

they

are

iterable.

{excerpt} {signature:C#}

Signature
C#
C#
public System.Collections.Generic.IEnumerable<NamedObject> NamedRanges{ get; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public ReadOnly Property NamedRanges() As System.Collections.Generic.IEnumerable(Of NamedObject)
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#
          
NamedObject[] ranges = wb.NamedRanges;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
Dim ranges as NamedObject() = wb.NamedRanges
        
{code} {example}