SqlColumnBinder.GetBoolean 方法 (DbDataReader, Boolean, Boolean%)
擷取這個資料行的值做為 bool 從指定的讀取器。
如果值為 null,則會將輸出參數設定為 TRUE。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function GetBoolean ( _
reader As DbDataReader, _
nullValue As Boolean, _
<OutAttribute> ByRef isNull As Boolean _
) As Boolean
public bool GetBoolean(
DbDataReader reader,
bool nullValue,
out bool isNull
)
參數
- reader
型別:System.Data.Common.DbDataReader
- nullValue
型別:System.Boolean
- isNull
型別:System.Boolean%
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。