共用方式為


JavaScriptTestEncoder.FindFirstCharacterToEncode(Char*, Int32) Method

Definition

Finds the index of the first character to encode.

public:
 override int FindFirstCharacterToEncode(char* text, int textLength);
public override int FindFirstCharacterToEncode (char* text, int textLength);
override this.FindFirstCharacterToEncode : nativeptr<char> * int -> int

Parameters

text
Char*

The text buffer to search.

textLength
Int32

The number of characters in text.

Returns

The index of the first character to encode.

Applies to