HandlerBase.Characters(Char[], Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
deprecated
接收元素內字元數據的通知。
[Android.Runtime.Register("characters", "([CII)V", "GetCharacters_arrayCIIHandler")]
[System.Obsolete("deprecated")]
public virtual void Characters (char[]? ch, int start, int length);
[<Android.Runtime.Register("characters", "([CII)V", "GetCharacters_arrayCIIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Characters : char[] * int * int -> unit
override this.Characters : char[] * int * int -> unit
參數
- ch
- Char[]
字元。
- start
- Int32
字元陣列中的開始位置。
- length
- Int32
要從字元陣列使用的字元數。
實作
- 屬性
例外狀況
任何 SAX 例外狀況,可能包裝另一個例外狀況。
備註
接收元素內字元數據的通知。
根據預設,不執行任何動作。 應用程式寫入器可能會覆寫此方法,以針對每個字元數據區塊採取特定動作(例如將數據新增至節點或緩衝區,或將它列印至檔案)。
的 org.xml.sax.HandlerBase.characters(char[], int, int)
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
另請參閱
- <xref:Org.Xml.Sax.IDocumentHandler.Characters(System.Char%5b%5d%2c+System.Int32%2c+System.Int32)>