User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.getfieldex_tgis_uid_string

Table of Contents

TGIS_LayerVector.GetFieldEx method

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

Gets a field value for a shape determined by its unique identity.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  function GetFieldEx(
    const _uid : TGIS_Uid;
    const _name : String
  ) : Variant; virtual;
// C++ Builder
public:
  virtual Variant* GetFieldEx(
    TGIS_Uid* const _uid,
    const UnicodeString _name
  );

Parameters

Name Type Description
_uid TGIS_Uid identity
_name String field name

Result

Type Description
Variant Field value. If field value is Null then function will return Null default value. GetField will return a default value instead.

Remarks

Use this method to get a field value for a shape given by its unique identity.

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.

2024/12/20 22:19

Page Tools