sqlite3_create_collation16() 개인적인 메소드

private sqlite3_create_collation16 ( IntPtr db, string strName, int eTextRep, IntPtr ctx, SqliteCollation fcompare ) : int
db System.IntPtr
strName string
eTextRep int
ctx System.IntPtr
fcompare SqliteCollation
리턴 int
예제 #1
0
        internal override void CreateCollation(string strCollation, SqliteCollation func)
        {
            int n = UnsafeNativeMethods.sqlite3_create_collation16(_sql, strCollation, 4, IntPtr.Zero, func);

            if (n > 0)
            {
                throw new SqliteException(n, SqliteLastError());
            }
        }