User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layervector.getuniquefieldname_widestring

Table of Contents

ITGIS_LayerVector.GetUniqueFieldName method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerVector.GetUniqueFieldName | Methods | Properties

Suggests a unique field name.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public WideString GetUniqueFieldName(
  WideString _name
);
' VisualBasic
Public Function GetUniqueFieldName(
  ByVal _name As WideString
) As WideString
// Oxygene
public
  function GetUniqueFieldName(
    _name : WideString
  ) : WideString;

Parameters

Name Type Description
_name WideString field name to be tested

Result

Type Description
WideString 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.

2020/05/07 01:04