User Tools

Site Tools


Table of Contents

ITGIS_LayerVector.GetField method

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

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

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


// C#
public OleVariant GetField(
  OleVariant _uid,
  WideString _name
' VisualBasic
Public Function GetField(
  ByVal _uid As OleVariant,
  ByVal _name As WideString
) As OleVariant
// Oxygene
  function GetField(
    _uid : OleVariant;
    _name : WideString
  ) : OleVariant;


Name Type Description
_uid OleVariant identity
_name WideString field name


Type Description
OleVariant Field value. If field value is Null then function will return default value. GetFieldEx will return raw value instead.


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.

2022/11/16 01:10

Page Tools