MaskedTextProvider.IsEditPosition(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.
Determines whether the specified position is editable.
public:
bool IsEditPosition(int position);
public bool IsEditPosition (int position);
member this.IsEditPosition : int -> bool
Public Function IsEditPosition (position As Integer) As Boolean
Parameters
- position
- Int32
The zero-based position in the mask to test.
Returns
true
if the specified position in the formatted string is editable; otherwise false
.
Remarks
The IsEditPosition method returns true
only if both of the following conditions are true:
The
pos
parameter 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.