I am having an issue with the ITableSort interface whilst migrating a project from VS 2010 using the ArcObjects .NET 10.2 SDK into VS 2015 using the ArcObjects .NET 10.4 SDK.
I have code that uses the ITableSort.Ascending property but this now says it is an unsupported type in 10.4. However in the help http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ITableSort.htm it says it is still available. Has anybody else come across this?
Cheers
Glynn
This is a new bug in 10.4 (BUG-000095459). We have Technical Article 000001060 talking about the relevant issues http://support.esri.com/technical-article/000001060
There are many interface properties which have input parameters (typically the parameters are indexes) that are affected in ArcObjects 10.4 Visual Studio 2015 VB.NET, like ITableSort, IFieldsEdit, etc. Workaround for VB.NET would be the same as suggested in Article 000001060.
This bug is fixed in 10.5.1 (check bug status: http://support.esri.com/bugs/nimbus/QlVHLTAwMDA5NTQ1OQ==).
Hi,
Thank you for the answer. I ended up with a C# dll handling the ITableSort. Worked fine.
Harald.
Hi, there was no fix in 10.4. What I ended up doing was a DLL in C# that handled the iTableSort interface. I am uncertain if the issue is sorted in 10.5.
Hi, is there a fix on this. Does 10.5 handle this?
The IQueryFilterDefinition interface is often easier to use if you are just trying to sort.
IQueryFilterDefinition.PostfixClause Example
Thanks! I also got around it by keeping my code in VS 2015 (VB.NET) and calling another DLL I wrote in C# that used the ITableSort interface.
Further to this, I should add that I am using VB.NET. It looks to be still available when using C#.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.