ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / TransformToObjectIDs Method / TransformToObjectIDs(BasicFeatureLayer,IEnumerable<Guid>) Method
The layer the globalIDs are associated with.
A set of global IDs.

In This Topic
    TransformToObjectIDs(BasicFeatureLayer,IEnumerable<Guid>) Method
    In This Topic
    Translate the globalIDs to objectIDs.
    Syntax
    public static List<long> TransformToObjectIDs( 
       BasicFeatureLayer layer,
       IEnumerable<Guid> globalIDs
    )
    Public Overloads Shared Function TransformToObjectIDs( _
       ByVal layer As BasicFeatureLayer, _
       ByVal globalIDs As IEnumerable(Of Guid) _
    ) As List(Of Long)

    Parameters

    layer
    The layer the globalIDs are associated with.
    globalIDs
    A set of global IDs.

    Return Value

    Corresponding objectIDs (-1 if feature not found).
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also