image.png (9.5 KB)
when create layer in arcmap we can set above config
but Dataset.Create no this config , After my testing, it will make changes based on the geometry of your first feature and Even if you set HasM=…..."OID", // name geometry field 'POINT' rather than the default 'SHAPE'...'SHAPE'. GeometryFieldName = "POINT", }; using (var layer = dataset...