Returns the location index where the error was found inside of the query.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public int Position { get; }
Visual Basic
Public ReadOnly Property Position As Integer
	Get
Visual C++
public:
property int Position {
	int get ();
}

Return Value

The position where the parsing of the query failed, which may not correspond to the character that caused the error.

Remarks

The Position property should be used as guidance only, as it may or may not point to the exact location where the invalid token was found because the parser always looks ahead to find tokens rather than specific characters.

See Also