AnsweredAssumed Answered

10.1 SOE create object in the server

Question asked by kjohn on Nov 1, 2013
Latest reply on Nov 6, 2013 by kjohn
Hi All,

I'm trying to refactor some old code to create a SOE and before with direct connections to the server the following was true for creating an object in the server:
This was incorrect:
Dim point As IPoint = New Point()


this was correct:
Dim point As IPoint = serverContext.CreateObject("esriGeometry.Point")


Now in 10.1 in a SOE if I want to create a new temporary point or polygon, etc. what is the correct way of doing this?

Thanks a lot

Outcomes