語言

TextEncoder.FindFirstCharacterToEncode(Char*, Int32) 方法

定義

重要

此 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字元數。

傳回

第一個要編碼字元的索引。

屬性

備註

這種輔助方法很少被直接使用。

適用於