User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layersqlogisabstract.getnewuid_void

Table of Contents

TGIS_LayerSqlOgisAbstract.GetNewUid method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerSqlOgisAbstract.GetNewUid | Constructors | Fields | Methods | Properties

Gets the Uid for a new shape.

Available also on: Delphi | Java.

Syntax

Overrides TGIS_LayerVector.GetNewUid.

// C#
public long GetNewUid();
' VisualBasic
Public Function GetNewUid() As Long
// Oxygene
public
  function GetNewUid : TGIS_Uid; override;

Result

Type Description
long
TGIS_Uid

Remarks

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, PaintScope>, etc.

2020/05/07 01:17