Change FeatureLayer.DefinitionExpression and Catch a Exception

Discussion created by xiaoguang on Jun 15, 2017
Latest reply on Jun 19, 2017 by xiaoguang

Recently I change the FeatureLayer.DefinitionExpression(set FeatureLayer.DefinitionExpression="*****" then FeatureLayer.DefinitionExpression="") it will catch a exception with message "write protected memory. This usually indicates that other memory has been damaged" showed.