AcTools.LapTimes.LevelDbUtils.LevelDbInterop.leveldb_destroy_db C# (CSharp) Method

leveldb_destroy_db() private method

private leveldb_destroy_db ( IntPtr options, string name, IntPtr &error ) : void
options System.IntPtr
name string
error System.IntPtr
return void
        public static extern void leveldb_destroy_db(IntPtr /* Options*/ options, string name, out IntPtr error);

Usage Example

コード例 #1
0
        /// <summary>
        /// Destroy the contents of the specified database.
        /// Be very careful using this method.
        /// </summary>
        public static void Destroy(Options options, string name)
        {
            IntPtr error;

            LevelDbInterop.leveldb_destroy_db(options.Handle, name, out error);
            Throw(error);
        }