Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Returns the named ranges of the [Workbook|Workbook] as an array of [NamedObject|NamedObject] objects as an {msdn:System.Collections.IEnumerable|IEnumerable} collection.  Though the named ranges are not returned in any particular order, they are iterable.{excerpt}
{signature:C#}
 public System.Collections.Generic.IEnumerable<NamedObject> NamedRanges{ get; }
{signature}{signature:vb.net}
Public ReadOnly Property NamedRanges() As System.Collections.Generic.IEnumerable(Of NamedObject)
{signature}
{example}{code:csharp|title=C#}

          NamedObject[] ranges = wb.NamedRanges;
        {code}
{code:vb.net|title=vb.net}

          Dim ranges as NamedObject() = wb.NamedRanges
        {code}

{example}