Methods get_ doesn't work

Nov 19, 2015 at 12:22 PM
Edited Nov 19, 2015 at 12:27 PM

It seems that the method map.get_ (like var ogr = axMap1.get_OgrLayer(layerHandle)) doesn't works on a vba project (in Access 2010). I can't find them in the object explorer (I installed the last version of the ocx)
Is-it ossible ?
Nov 21, 2015 at 4:08 PM
I found the answer... it works without the get_ behind...
Marked as answer by pmeems on 1/21/2016 at 7:53 AM
Jan 21, 2016 at 2:53 PM

For reasons unknown Microsoft decided to prepend get_ and set_ to methods in C#.
For VB.NET this is not necessary. For .NET v4 this has been fixed for C# as well.

So when you see get_MethodName you can use MethodName in VB.NET and VBA.