Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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#.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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