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 中的字元數目。

傳回

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

屬性

備註

這個協助程式方法很少直接呼叫。

適用於