ArcGIS Pro 2.8 API Reference Guide
SetShape Method

ArcGIS.Core.Data Namespace > Feature Class : SetShape Method
The geometry of this feature.
Sets the geometry of this feature. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetShape( 
   Geometry shape
)
Public Sub SetShape( _
   ByVal shape As Geometry _
) 

Parameters

shape
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.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Feature Class
Feature Members