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
十六進位字串。
傳回
Byte[]
將十六進位字串解碼為二進位值。
備註
如需詳細資訊和範例,請參閱使用 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
字元。
傳回
Byte[]
將十六進位字串解碼為二進位值。
備註
如需詳細資訊和範例,請參閱使用 EF Core 存取 SQLite 資料庫和資料庫函式。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應