ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ParcelFabricExtensions Class / SetActiveRecordAsync Method / SetActiveRecordAsync(ParcelLayer,ParcelRecord) Method
The parcel layer.
Parcel record that will be set as the current record.

In This Topic
    SetActiveRecordAsync(ParcelLayer,ParcelRecord) Method
    In This Topic
    Sets the active record.
    Syntax
    public static Task<bool> SetActiveRecordAsync( 
       ParcelLayer parcelLayer,
       ParcelRecord parcelRecord
    )
    Public Overloads Shared Function SetActiveRecordAsync( _
       ByVal parcelLayer As ParcelLayer, _
       ByVal parcelRecord As ParcelRecord _
    ) As Task(Of Boolean)

    Parameters

    parcelLayer
    The parcel layer.
    parcelRecord
    Parcel record that will be set as the current record.

    Return Value

    A Task to a bool indicating if the active record is set.
    Exceptions
    ExceptionDescription
    Insufficient license. This method requires a standard license.
    Remarks
    All clients, including the parcel heads-up-display on the active map, will be notified and use the values given. Values for the parcel record must be set correctly to match the underlying data.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also