コード例 #1
0
 private static bool TrySetFeature(IFeatureSource source, string featureName, string state, IDictionary<string, string> options)
 {
     try
     {
         return source.SetFeature(featureName, state, options);
     }
     catch (Exception)
     {
         return false;
     }
 }