XmlDictionaryReader.ReadContentAsChars(Char[], Int32, Int32) 方法

定義

將內容讀入 char 陣列中。

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[]

要放置字元的陣列。

offset
Int32

陣列中的起始索引。

count
Int32

要放入陣列中的字元數目。

傳回

讀取的字元數。

適用於