DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.GetFieldEx_4 | Methods | Properties
Returns the raw field value for the shape at the specified cursor position with optional field-rule evaluation.
// C# public OleVariant GetFieldEx_4( WideString _name, int _cursor, WordBool _rule );
' VisualBasic Public Function GetFieldEx_4( ByVal _name As WideString, ByVal _cursor As Integer, ByVal _rule As WordBool ) As OleVariant
// Oxygene public function GetFieldEx_4( _name : WideString; _cursor : Integer; _rule : WordBool ) : OleVariant;
| Name | Type | Description |
|---|---|---|
| _name | WideString | Field name to read. |
| _cursor | int Integer | Cursor identifier returned by the layer cursor or search methods. |
| _rule | WordBool | If True, applies field rules such as aliases or calculated values. If False, returns the raw stored value. |
| Type | Description |
|---|---|
| OleVariant | Field value for the shape at the specified cursor position after optional rule evaluation. If the stored value is NULL, a NULL Variant is returned. |
PURPOSE: Read attribute values from cursor-based query results while optionally applying field rules and preserving NULL semantics.
BEHAVIOR: Performs a case-insensitive field lookup for the shape referenced by _cursor. When _rule is True, field rules are evaluated before the value is returned.
CONSTRAINTS: The cursor must be valid and used only within its active iteration or query context. Rule evaluation may be slower than returning the raw stored value.