User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.getuniquefieldname_string

Table of Contents

TGIS_LayerVector.GetUniqueFieldName method

DK11 for Delphi | GisLayerVector.TGIS_LayerVector.GetUniqueFieldName | Constructors | Fields | Methods | Properties | Events

Suggests a unique field name.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function GetUniqueFieldName(
    const _name : String
  ) : String; virtual;
// C++ Builder
public:
  virtual UnicodeString GetUniqueFieldName(
    const UnicodeString _name
  );

Parameters

Name Type Description
_name String field name to be tested

Result

Type Description
String Original field name if not exists in a layer or a suggest replacement.

Remarks

If provided name already exists in a layer then function will return field name like 'name_A', 'name_B' etc.

2019/09/27 01:09