共用方式為


TextLineCollection.IndexOf(Int32) Method

Definition

The index of the TextLine that encompasses the character position.

public:
 abstract int IndexOf(int position);
public abstract int IndexOf (int position);
abstract member IndexOf : int -> int
Public MustOverride Function IndexOf (position As Integer) As Integer

Parameters

position
Int32

Returns

Applies to