XmlDictionaryReader.ReadContentAsChars(Char[], Int32, Int32) XmlDictionaryReader.ReadContentAsChars(Char[], Int32, Int32) XmlDictionaryReader.ReadContentAsChars(Char[], Int32, Int32) XmlDictionaryReader.ReadContentAsChars(Char[], Int32, Int32) Method

定义

将内容读入 char 数组。Reads the content into a char array.

public:
 virtual int ReadContentAsChars(cli::array <char> ^ chars, int offset, int count);
public virtual int ReadContentAsChars (char[] chars, int offset, int count);
abstract member ReadContentAsChars : char[] * int * int -> int
override this.ReadContentAsChars : char[] * int * int -> int
Public Overridable Function ReadContentAsChars (chars As Char(), offset As Integer, count As Integer) As Integer

参数

chars
Char[]

向其中放入字符的数组。The array into which the characters are put.

offset
Int32 Int32 Int32 Int32

数组中的起始索引。The starting index in the array.

count
Int32 Int32 Int32 Int32

要放入数组中的字符数。The number of characters to put in the array.

返回

读取的字符数。Number of characters read.

适用于