TextEncoder.FindFirstCharacterToEncode(Char*, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 API 不符合 CLS 規範。
尋找第一個要編碼字元的索引。
public:
abstract int FindFirstCharacterToEncode(char* text, int textLength);
[System.CLSCompliant(false)]
public abstract int FindFirstCharacterToEncode(char* text, int textLength);
[<System.CLSCompliant(false)>]
abstract member FindFirstCharacterToEncode : nativeptr<char> * int -> int
參數
- text
- Char*
用文字緩衝區搜尋。
- textLength
- Int32
中 text字元數。
傳回
第一個要編碼字元的索引。
- 屬性
備註
這種輔助方法很少被直接使用。