User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.getfield_tgis_uid_string

Table of Contents

TGIS_LayerVector.GetField method

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

Get field value for a shape determined by unique identity.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function GetField(
    const _uid : TGIS_Uid;
    const _name : String
  ) : Variant; virtual;
// C++ Builder
public:
  virtual Variant* GetField(
    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 default value. GetFieldEx will return raw value instead.

Remarks

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

When using this operation, never call any function which uses FindFirst..FindNext (any function which iterates through the shapes using it - so never use inside an operation like Locate, PaintScope etc.).

2019/09/27 01:09