public static DeleteFeature ( IFeatureClass theFC, int OID ) : void | ||
theFC | IFeatureClass | |
OID | int | |
return | void |
public static void DeleteFeature(IFeatureClass theFC, int OID)
{
try
{
IFeature theNF = theFC.GetFeature(OID);
if (theNF != null) { theNF.Delete(); }
}
catch (Exception ex) { }
}