This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataSortSeriesProperties Interface > IDataSortSeriesProperties.AddSortingField Method (ArcObjects .NET 10.5 SDK) |
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,
long* idx
);
[C++]
Parameters strField [in] strField is a parameter of type BSTR bAscending [in] bAscending is a parameter of type VARIANT_BOOL idx [in, out] idx is a parameter of type long