Editor's TypeID

Discussion created by rvinc on Nov 3, 2012
I'm following this sample: Editing > Edit Controls > Edit Tools > Edit Tools - Auto Save. This sample allows you to add polygons. It has a button called Add Polygon. Behind that button is this code segment:

ESRI.ArcGIS.Client.Editor myEditor = LayoutRoot.Resources["MyEditor"] as ESRI.ArcGIS.Client.Editor;
AddButton.Command = myEditor.Add;
AddButton.CommandParameter = 10101;

I've reproduced this tool exactly except the MPK has a point featureclass in it. I'm trying to add a point but it isn't working. What is the CommandParameter for a point featureclass? I think it's asking for the feature type id.