Szerkesztés

Megosztás a következőn keresztül:


MaskedTextProvider.IsEditPosition(Int32) Method

Definition

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.

Applies to

See also