DK11 for Delphi | GisLayerSqlDb2.TGIS_LayerSqlDb2Abstract.GetNewUid | Constructors | Fields | Methods | Properties
Gets the Uid for a new shape.
Overrides TGIS_LayerVector.GetNewUid.
// Delphi public function GetNewUid : TGIS_Uid; override;
// C++ Builder public: virtual TGIS_Uid* GetNewUid(void);
Type | Description |
---|---|
TGIS_Uid |
Use this method to find the Uid for a new shape. It simply uses GetLastUid method to determine the next available id. See example in GetLastUid.
When using this operation, never call any function which uses FindFirst..FindNext (i.e., any function which iterates through the shapes using it). So never use inside an operation like Locate etc.