User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layervector.getuniquefieldname_string

Table of Contents

TGIS_LayerVector.GetUniqueFieldName method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector.GetUniqueFieldName | Constructors | Fields | Methods | Properties | Events

Suggests a unique field name.

Available also on: Delphi | Java | ActiveX.

Syntax

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

Parameters

Name Type Description
_name string
String
field name to be tested

Result

Type Description
string
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:17