SqliteDbFunctionsExtensions.Unhex 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| Unhex(DbFunctions, String) |
對應至 SQLite |
| Unhex(DbFunctions, String, String) |
對應至 SQLite |
Unhex(DbFunctions, String)
對應至 SQLite unhex 函式,此函式會傳回代表十六進位字串解碼的 BLOB。
public static byte[] Unhex (this Microsoft.EntityFrameworkCore.DbFunctions _, string value);
static member Unhex : Microsoft.EntityFrameworkCore.DbFunctions * string -> byte[]
<Extension()>
Public Function Unhex (_ As DbFunctions, value As String) As Byte()
參數
DbFunctions 執行個體。
- value
- String
十六進位字串。
傳回
將十六進位字串解碼為二進位值。
備註
如需詳細資訊和範例,請參閱使用 EF Core 存取 SQLite 資料庫和資料庫函式。
適用於
Unhex(DbFunctions, String, String)
對應至 SQLite unhex 函式,此函式會傳回代表十六進位字串解碼的 BLOB。
public static byte[] Unhex (this Microsoft.EntityFrameworkCore.DbFunctions _, string value, string ignoreChars);
static member Unhex : Microsoft.EntityFrameworkCore.DbFunctions * string * string -> byte[]
<Extension()>
Public Function Unhex (_ As DbFunctions, value As String, ignoreChars As String) As Byte()
參數
DbFunctions 執行個體。
- value
- String
十六進位字串。
- ignoreChars
- String
中忽略的 value 字元。
傳回
將十六進位字串解碼為二進位值。
備註
如需詳細資訊和範例,請參閱使用 EF Core 存取 SQLite 資料庫和資料庫函式。