ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / TransformToGlobalID Method / TransformToGlobalID(BasicFeatureLayer,IEnumerable<Int64>) Method
The layer the objectIDS are associated with.
A set of objectIDs.

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

    Parameters

    layer
    The layer the objectIDS are associated with.
    objectIDs
    A set of objectIDs.

    Return Value

    Corresponding globalIDs (Empty if feature not found, or layer doesn't have globalIDs.)
    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