shenh

what is the difference between new Point and new PointClass

Discussion created by shenh on Apr 22, 2013
Dear Developers,
I am extending ArcObject with .NET. I am not sure what is the difference between the following two sentences:

Dim pt as IPoint = new Point
Dim pt2 as IPoint = new PointClass

From the intelisense prompt I can only see Point but not PointClass. In this case, do I have to add Class manually every time I define new CoClass? That will be painful. Also, when I use new Point, it works without any problem.

Thanks for your clarification,

Hailiang

Outcomes