共用方式為


DataProvider.GetByte 方法

Returns data for the specified column with the given type. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Function GetByte ( _
    i As Integer _
) As Byte
'用途
Dim instance As DataProvider 
Dim i As Integer 
Dim returnValue As Byte 

returnValue = instance.GetByte(i)
public byte GetByte(
    int i
)
public:
virtual unsigned char GetByte(
    int i
) sealed
abstract GetByte : 
        i:int -> byte  
override GetByte : 
        i:int -> byte
public final function GetByte(
    i : int
) : byte

參數

傳回值

型別:System.Byte
An integer that represents the value of the specified column as byte.

實作

IDataRecord.GetByte(Int32)

請參閱

參考

DataProvider 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間