We have upgraded an application from 10.3 to 10.4 and now get the following error -
BC30643 Property 'ESRI.ArcGIS.Geodatabase.ITableSort.Ascending(Field As Boolean)' is of an unsupported type.
Per the documentation @ http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#52284974-38c8-4272-b5a2-f56f38ad94a2...
for tableSort.Ascending
[VB.NET]
' Set ascending property with field name and Boolean value.
tableSort.Ascending("State_Name")=False
In 10.3
WriteOnly Property Ascending(Field As String) As Boolean
WriteOnly Property CaseSensitive(Field As String) As Boolean
In 10.4
WriteOnly Property Ascending(Field As Boolean) As Boolean
WriteOnly Property CaseSensitive(Field As Boolean) As Boolean
This appears to be a bug, but if not can you explain how ITableSort.Ascending is supposed to be used in 10.4
Thanks,
Darell
Solved! Go to Solution.
Hi Darrell, I'm not sure about a timeline for the fix, but you'll want to use VS 2013 in the meantime to compile your code. The method should work the same way it worked in 10.3.1
Are you using Visual Studio 2015 by any chance?
Yes, this is with VS 2015 with a Target framework of .Net 4.5
Looks like there is a bug already filed for this
-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
Is there an estimated timetable for this fix?
Hi Darrell, I'm not sure about a timeline for the fix, but you'll want to use VS 2013 in the meantime to compile your code. The method should work the same way it worked in 10.3.1