Text Provider. Is Available Position(Int32) Method
Determines whether the specified position is available for assignment.
public: bool IsAvailablePosition(int position);
public bool IsAvailablePosition (int position);
member this.IsAvailablePosition : int -> bool
Public Function IsAvailablePosition (position As Integer) As Boolean
The zero-based position in the mask to test.
true if the specified position in the formatted string is editable and has not been assigned to yet; otherwise
The IsAvailablePosition method returns
true only if all of the following conditions are true:
posparameter is within the bounds of the formatted string; that is, its value is greater than or equal to zero and less than the Length of the formatted string.
The specified position is an editable character.
A character has not already been assigned to this position.