ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ParcelFabricExtensions Class / SetActiveRecordAsync Method / SetActiveRecordAsync(ParcelLayer,Guid) Method
The parcel layer.
The global Id of the parcel record feature to be set as the current record.

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

    Parameters

    parcelLayer
    The parcel layer.
    guid
    The global Id of the parcel record feature to 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.0 or higher.
    See Also