DbUpdatableDataRecord.GetByte 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
將欄位值擷取成位元組。
命名空間: System.Data.Entity.Core.Objects
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Overrides Function GetByte ( _
i As Integer _
) As Byte
'用途
Dim instance As DbUpdatableDataRecord
Dim i As Integer
Dim returnValue As Byte
returnValue = instance.GetByte(i)
public override byte GetByte(
int i
)
public:
virtual unsigned char GetByte(
int i
) override
abstract GetByte :
i:int -> byte
override GetByte :
i:int -> byte
public override function GetByte(
i : int
) : byte
參數
- i
類型:System.Int32
欄位的序數。
傳回值
類型:System.Byte
成為位元組的欄位值。