ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data Namespace / Table Class / CreateUpdateCursor Method

In This Topic
    CreateUpdateCursor Method
    In This Topic
    Creates an UpdateCursor instance in memory. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function CreateUpdateCursor( _
       ByVal queryFilter As QueryFilter, _
       ByVal useRecyclingCursor As Boolean _
    ) As UpdateCursor

    Parameters

    queryFilter
    useRecyclingCursor

    Return Value

    An UpdateCursor used to quickly update rows.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Remarks
    When used in an ArcGIS Pro add-in, update cursors should be used within an edit operation callback. For stand-alone CoreHost applications, calls to this method (and use of the insert cursor) should be enclosed within a call to Geodatabase.ApplyEdits.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also