ArcGIS Pro 2.7 API Reference Guide
TransformToOID(BasicFeatureLayer,IEnumerable<Guid>) Method

ArcGIS.Desktop.Mapping Namespace > MappingExtensions Class > TransformToOID Method : TransformToOID(BasicFeatureLayer,IEnumerable<Guid>) Method
global IDs
Translate the globalIDs to ObjectIDs
Syntax
public static List<long> TransformToOID( 
   BasicFeatureLayer layer,
   IEnumerable<Guid> globalIDs
)
Public Overloads Shared Function TransformToOID( _
   ByVal layer As BasicFeatureLayer, _
   ByVal globalIDs As IEnumerable(Of Guid) _
) As List(Of Long)

Parameters

layer
globalIDs
global IDs

Return Value

Corresponding OIDs (-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 10, Windows 8.1

See Also

Reference

MappingExtensions Class
MappingExtensions Members
Overload List