Partager via


IContentReader.Read(Int64) Method

Definition

Reads the content from the item.

public:
 System::Collections::IList ^ Read(long readCount);
public System.Collections.IList Read (long readCount);
[System.Runtime.CompilerServices.NullableContext(1)]
public System.Collections.IList Read (long readCount);
abstract member Read : int64 -> System.Collections.IList
[<System.Runtime.CompilerServices.NullableContext(1)>]
abstract member Read : int64 -> System.Collections.IList
Public Function Read (readCount As Long) As IList

Parameters

readCount
Int64

The number of "blocks" of data to be read from the item.

Returns

An array of the blocks of data read from the item.

Attributes

Remarks

A "block" of content is provider specific. For the file system a "block" may be considered a line of text, a byte, a character, or delimited string.

The implementation of this method should break the content down into meaningful blocks that the user may want to manipulate individually. The number of blocks to return is indicated by the readCount parameter.

Applies to