AnsweredAssumed Answered

EditOperation Help

Question asked by P40753 on Feb 2, 2018

I am trying to copy selected features to a new FGDB. I am having an issue with using one of the overloads for EditOperation. Can I get an example. Below was my attempt.


Public Overloads Sub Create( _    ByVal member As MapMember, _    ByVal values As Dictionary(Of String,Object), _    Optional ByVal result As Action(Of Long) _ ) 


var createFeatures = new EditOperation();


//Get Attributes for Row

Dictionary<string, object> attributes = new Dictionary<string, object>();

// Fill up the Dictionary

foreach (var field in row.GetFields())


attributes.Add(field.Name, field);


//Create New Feature

createFeatures.Create(fc, attributes);