User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layervector.getfieldex_olevariant_widestring

Table of Contents

ITGIS_LayerVector.GetFieldEx method

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

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

Available also on: Delphi | .NET | Java.

Syntax

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

Parameters

Name Type Description
_uid OleVariant identity
_name WideString field name

Result

Type Description
OleVariant 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, PaintScope, etc.

2020/05/07 01:04