ArcGIS Pro 2.6 API Reference Guide
TransformToGlobalID(BasicFeatureLayer,IEnumerable<Int64>) Method

ArcGIS.Desktop.Mapping Namespace > MappingExtensions Class > TransformToGlobalID Method : TransformToGlobalID(BasicFeatureLayer,IEnumerable<Int64>) Method
ObjectIDs
Translate the globalIDs 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
objectIDs
ObjectIDs

Return Value

Corresponding GlobalIDs (Empty if feature not found, or doesn't have GlobalIDs.)
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MappingExtensions Class
MappingExtensions Members
Overload List