TextBox.GetLineIndexFromCharacterIndex(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the zero-based line index for the line that contains the specified character index.
public:
int GetLineIndexFromCharacterIndex(int charIndex);
public int GetLineIndexFromCharacterIndex (int charIndex);
member this.GetLineIndexFromCharacterIndex : int -> int
Public Function GetLineIndexFromCharacterIndex (charIndex As Integer) As Integer
Parameters
- charIndex
- Int32
The zero-based character index for which to retrieve the associated line index.
Returns
The zero-based index for the line that contains the specified character index.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.