Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.4 KB

system.data.sqltypes.sqlstreamchars.read.md

File metadata and controls

53 lines (39 loc) · 1.4 KB
description title author ms.date ms.subservice topic_type api_name api_location api_type
Learn more about: SqlStreamChars.Read(Char[], Int32, Int32) Method
SqlStreamChars.Read(Char[], Int32, Int32) Method (System.Data.SqlTypes)
stevestein
12/20/2018
data-access
apiref
System.Data.SqlTypes.SqlStreamChars.Read
System.Data.dll
Assembly

SqlStreamChars.Read(Char[], Int32, Int32) Method

When overridden in a derived class, reads the next set of characters from the input stream. The assembly that contains this method has a friend relationship with SQLAccess.dll. It's intended for use by SQL Server. For other databases, use the hosting mechanism provided by that database.

public abstract int Read (char[] buffer, int offset, int count);

Parameters

buffer
A char array to read.

offset
An offset relative to origin.

count
The number of characters to be read from the current stream.

Returns

xref:System.Int32
The total number of characters read into the buffer.

Remarks

Warning

The SqlStreamChars.Read method is private and is not meant to be used directly in your code.

Microsoft does not support the use of this method in a production application under any circumstance.

Requirements

Namespace: xref:System.Data.SqlTypes

Assembly: System.Data (in System.Data.dll)

.NET Framework versions: Available since 2.0.