What actually does the createObject(Point.getClsid()) do?Does it create a new Point Object,and return the class id of the Point.Does it mean that each point created will have the same class id.

I went through ESRI documentation but all it said was Identify class ID for an object.


This is related to COM.

A CLSID is a globally unique identifier that identifies a COM class object. If your server or container allows linking to its embedded objects, you need to register a CLSID for each supported class of objects.

In .NET though, it seems like these are now being called "progIDs", for example in the CreateObject documentation.

It looks like .getClsid is a static (or shared) method in this case. However I don't see one for the ESRI.ArcGIS.Geometry.PointClass in C#.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.