ArcGIS Pro 2.6 API Reference Guide
GetShape Method (RealtimeFeature)

ArcGIS.Core.Data.Realtime Namespace > RealtimeFeature Class : GetShape Method
Gets the geometry of this feature. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Geometry GetShape()
Public Function GetShape() As Geometry

Return Value

The geometry of this feature.
Exceptions
ExceptionDescription
This feature's type of shape (i.e., geometry) is not supported.
A geodatabase-related exception has occurred.
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

RealtimeFeature Class
RealtimeFeature Members