Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Wiki Markup
{introducedin: 8.4

...

Description

Excerpt

The SortOptions class contains all of the sorting options for a PivotTableField.

{signature}

{example}{code:csharp|title=C#}

          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Open("template.xlsx");
          SortOptions options = wb[0].PivotTables[0].ColumnLabels[0].SortOptions;
        
{code}
{code:vbnet|title=vb.net
}

          Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.Open("template.xlsx")
          Dim options As SortOptions = wb(0).PivotTables(0).ColumnLabels(0).SortOptions;
        
Signature
C#C#
}{description}
{excerpt}The {{SortOptions}} class contains all of the sorting options for a {{[EW8:PivotTableField]}}.{excerpt}
{signature:C#}
 public sealed class SortOptions
Signature
{signature}{signature:vb.net
vb.net
}
Public NotInheritable Class SortOptions
Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle
Properties

...

Name

...

Description

...

Ordering

...

OrderingType

...

{code}

{example}
{properties}
|| Name || Description ||
| [Ordering|SortOptions.Ordering] | {excerpt-include:SortOptions.Ordering|nopanel=true} |
| [OrderingType|SortOptions.OrderingType] | {excerpt-include:SortOptions.OrderingType|nopanel=true} |