User Tools

Site Tools


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

Table of Contents

TGIS_LayerVector.GetFieldEx method

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

Get field value for a shape determined by unique identity.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public Variant GetFieldEx(
  long _uid,
  string _name
);
' VisualBasic
Public Function GetFieldEx(
  ByVal _uid As Long,
  ByVal _name As String
) As Variant
// Oxygene
public
  function GetFieldEx(
    _uid : TGIS_Uid;
    _name : String
  ) : Variant; virtual;

Parameters

Name Type Description
_uid long
TGIS_Uid
identity
_name string
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 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:17