XmlSanitizerStream.ReadBlock Method

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > XmlSanitizerStream Class > XmlSanitizerStream Methods >

XmlSanitizerStream.ReadBlock Method

BR.AN.PviServices .NET


Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.

[Visual Basic]

Public Overrides Sub ReadBlock( _

  ByVal buffer As Char, _

  ByVal index As Integer, _

  ByVal count As Integer _

)

[C#]

public override int ReadBlock(

  char[] buffer,

  int index,

  int count

);

Parameters

buffer

When this method returns, this parameter contains the specified character array with the values between index and (index + count -1) replaced by the characters read from the current source.

index

The place in buffer at which to begin writing.

count

The maximum number of characters to read.

Return Value

The position of the underlying stream is advanced by the number of characters that were read into buffer. The number of characters that have been read. The number will be less than or equal to count, depending on whether all input characters have been read.

See Also

XmlSanitizerStream Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]