This document is archived and information here might be outdated.  Recommended version.


IDataSortSeriesProperties.AddSortingField Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IDataSortSeriesProperties.AddSortingField Method

Add a sorting field and type.

[Visual Basic .NET]
Public Sub AddSortingField ( _
    ByVal strField As String, _
    ByVal bAscending As Boolean, _
    ByRef idx As Integer _
)
[C#]
public void AddSortingField (
    string strField,
    bool bAscending,
    ref int idx
);
[C++]
HRESULT AddSortingField(
  BSTR strField,
  VARIANT_BOOL bAscending,
  System.Int32* idx
);
[C++]

Parameters strField [in]
strField is a parameter of type BSTR bAscending [in]
bAscending is a parameter of type bool idx [in, out]
idx is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IDataSortSeriesProperties Interface

.NET Related Topics

How to group data into separate lines on a line graph | How to sort data in the graph