Page tree

Versions Compared

Key

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

Description

Excerpt

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

Msdn
System.Collections.IEnumerable
System.Collections.IEnumerable
1IEnumerable
collection. Though the named ranges are not returned in any particular order, they iterable.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public System.Collections.Generic.IEnumerable&lt;NamedObject>IEnumerable<NamedObject> NamedRanges{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public ReadOnly Property NamedRanges() As System.Collections.Generic.IEnumerable(Of NamedObject)</p>
Example
Code Block
csharp
csharp
titleC#
            NamedObject[] ranges = ws.NamedRanges;
        
Code Block
vb.net
vb.net
titlevb.net
            Dim ranges as NamedObject() = ws.NamedRanges