User Tools

Site Tools


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

Table of Contents

TGIS_LayerVector.GetField method

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

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

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

Syntax

// C#
public virtual Variant GetField(
  long _uid,
  string _name
);
' VisualBasic
Public Overridable Function GetField(
  ByVal _uid As Long,
  ByVal _name As String
) As Variant
// Oxygene
public
  function GetField(
    _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 default value. GetFieldEx will return raw 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.

2022/11/16 01:34

Page Tools