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


IDataSortSeriesProperties.AddSortingField Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataSortSeriesProperties Interface > IDataSortSeriesProperties.AddSortingField Method
ArcGIS Developer Help

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