SqlColumnBinder.GetBytes 方法 (DbDataReader, Int64, array<Byte[], Int32, Int32)

读取字节块从列。 当使用ExecuteReader (CommandBehavior.SequentialAccess),您有效可以从BLOB列的流字节。

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Function GetBytes ( _
    reader As DbDataReader, _
    dataOffset As Long, _
    buffer As Byte(), _
    bufferIndex As Integer, _
    length As Integer _
) As Integer
public int GetBytes(
    DbDataReader reader,
    long dataOffset,
    byte[] buffer,
    int bufferIndex,
    int length
)

参数

返回值

类型:System.Int32
返回 Int32

.NET Framework 安全性

请参见

参考

SqlColumnBinder 类

GetBytes 重载

Microsoft.TeamFoundation.Framework.Server 命名空间