MaskedTextProvider.FindEditPositionFrom(Int32, Boolean) 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 position of the first editable position after the specified position using the specified search direction.
public:
int FindEditPositionFrom(int position, bool direction);
public int FindEditPositionFrom (int position, bool direction);
member this.FindEditPositionFrom : int * bool -> int
Public Function FindEditPositionFrom (position As Integer, direction As Boolean) As Integer
Parameters
- position
- Int32
The zero-based position in the formatted string to start the search.
- direction
- Boolean
A Boolean indicating the search direction; either true
to search forward or false
to search backward.
Returns
If successful, an Int32 representing the zero-based position of the first editable position encountered; otherwise InvalidIndex.
Remarks
The FindEditPositionFrom method is used to search for the next assigned or unassigned editable position in the formatted string after the specified position.
The FindNonEditPositionFrom method is the complement of this method.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru