// note - EditOperation.Planarize requires a standard license.
// An exception will be thrown if Pro is running under a basic license.
var planarizeFeatures = new EditOperation() { Name = "Planarize Features" };
//Planarize one or more features
planarizeFeatures.Planarize(featureLayer, new List<long>() { oid });
//Execute to execute the operation
//Must be called within QueuedTask.Run
if (!planarizeFeatures.IsEmpty)
{
var result = planarizeFeatures.Execute(); //Execute and ExecuteAsync will return true if the operation was successful and false if not
}
//or use async flavor
//await planarizeFeatures.ExecuteAsync();