XmlSanitizerStream.Read(Char, Int32, Int32) Method

<< 点击显示目录 >>

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

XmlSanitizerStream.Read(Char, Int32, Int32) Method

BR.AN.PviServices .NET


Reads a maximum of count characters from the current stream into buffer, beginning at index.

[Visual Basic]

Public Overrides Overloads Sub Read( _

  ByVal buffer As Char, _

  ByVal index As Integer, _

  ByVal count As Integer _

)

[C#]

public override int Read(

  char[] buffer,

  int index,

  int count

);

Parameters

buffer

When this method returns, 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 index of buffer at which to begin writing.

count

The maximum number of characters to read.

Return Value

The number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the count parameter, depending on whether the data is available within the stream.

See Also

XmlSanitizerStream Class | BR.AN.PviServices Namespace | XmlSanitizerStream.Read Overload List


Generated from assembly BR.AN.PviServices [8.1.0.4]