internal void ForeachProperty(Action <string, string> action) { PropertiesCallback callback = (index, total, key, value, userData) => { action(key, value); return(true); }; ForeachProperty(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get property list from native handle"); }
internal static extern ErrorCode ForeachProperty(IntPtr /* maps_preference_h */ preference, PropertiesCallback callback, IntPtr /* void */ userData);