This topic has not yet been rated - Rate this topic

MaskedTextProvider Methods

The MaskedTextProvider type exposes the following members.

  Name Description
Public method Add(Char) Adds the specified input character to the end of the formatted string.
Public method Add(String) Adds the characters in the specified input string to the end of the formatted string.
Public method Add(Char, Int32, MaskedTextResultHint) Adds the specified input character to the end of the formatted string, and then outputs position and descriptive information.
Public method Add(String, Int32, MaskedTextResultHint) Adds the characters in the specified input string to the end of the formatted string, and then outputs position and descriptive information.
Public method Clear() Clears all the editable input characters from the formatted string, replacing them with prompt characters.
Public method Clear(MaskedTextResultHint) Clears all the editable input characters from the formatted string, replacing them with prompt characters, and then outputs descriptive information.
Public method Clone Creates a copy of the current MaskedTextProvider.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindAssignedEditPositionFrom Returns the position of the first assigned editable position after the specified position using the specified search direction.
Public method FindAssignedEditPositionInRange Returns the position of the first assigned editable position between the specified positions using the specified search direction.
Public method FindEditPositionFrom Returns the position of the first editable position after the specified position using the specified search direction.
Public method FindEditPositionInRange Returns the position of the first editable position between the specified positions using the specified search direction.
Public method FindNonEditPositionFrom Returns the position of the first non-editable position after the specified position using the specified search direction.
Public method FindNonEditPositionInRange Returns the position of the first non-editable position between the specified positions using the specified search direction.
Public method FindUnassignedEditPositionFrom Returns the position of the first unassigned editable position after the specified position using the specified search direction.
Public method FindUnassignedEditPositionInRange Returns the position of the first unassigned editable position between the specified positions using the specified search direction.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Static member GetOperationResultFromHint Determines whether the specified MaskedTextResultHint denotes success or failure.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InsertAt(Char, Int32) Inserts the specified character at the specified position within the formatted string.
Public method InsertAt(String, Int32) Inserts the specified string at a specified position within the formatted string.
Public method InsertAt(Char, Int32, Int32, MaskedTextResultHint) Inserts the specified character at the specified position within the formatted string, returning the last insertion position and the status of the operation.
Public method InsertAt(String, Int32, Int32, MaskedTextResultHint) Inserts the specified string at a specified position within the formatted string, returning the last insertion position and the status of the operation.
Public method IsAvailablePosition Determines whether the specified position is available for assignment.
Public method IsEditPosition Determines whether the specified position is editable.
Public method Static member IsValidInputChar Determines whether the specified character is a valid input character.
Public method Static member IsValidMaskChar Determines whether the specified character is a valid mask character.
Public method Static member IsValidPasswordChar Determines whether the specified character is a valid password character.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove() Removes the last assigned character from the formatted string.
Public method Remove(Int32, MaskedTextResultHint) Removes the last assigned character from the formatted string, and then outputs the removal position and descriptive information.
Public method RemoveAt(Int32) Removes the assigned character at the specified position from the formatted string.
Public method RemoveAt(Int32, Int32) Removes the assigned characters between the specified positions from the formatted string.
Public method RemoveAt(Int32, Int32, Int32, MaskedTextResultHint) Removes the assigned characters between the specified positions from the formatted string, and then outputs the removal position and descriptive information.
Public method Replace(Char, Int32) Replaces a single character at or beyond the specified position with the specified character value.
Public method Replace(String, Int32) Replaces a range of editable characters starting at the specified position with the specified string.
Public method Replace(Char, Int32, Int32, MaskedTextResultHint) Replaces a single character at or beyond the specified position with the specified character value, and then outputs the removal position and descriptive information.
Public method Replace(String, Int32, Int32, MaskedTextResultHint) Replaces a range of editable characters starting at the specified position with the specified string, and then outputs the removal position and descriptive information.
Public method Replace(Char, Int32, Int32, Int32, MaskedTextResultHint) Replaces a single character between the specified starting and ending positions with the specified character value, and then outputs the removal position and descriptive information.
Public method Replace(String, Int32, Int32, Int32, MaskedTextResultHint) Replaces a range of editable characters between the specified starting and ending positions with the specified string, and then outputs the removal position and descriptive information.
Public method Set(String) Sets the formatted string to the specified input string.
Public method Set(String, Int32, MaskedTextResultHint) Sets the formatted string to the specified input string, and then outputs the removal position and descriptive information.
Public method ToDisplayString Returns the formatted string in a displayable form.
Public method ToString() Returns the formatted string that includes all the assigned character values. (Overrides Object.ToString().)
Public method ToString(Boolean) Returns the formatted string, optionally including password characters.
Public method ToString(Boolean, Boolean) Returns the formatted string, optionally including prompt and literal characters.
Public method ToString(Int32, Int32) Returns a substring of the formatted string.
Public method ToString(Boolean, Int32, Int32) Returns a substring of the formatted string, optionally including password characters.
Public method ToString(Boolean, Boolean, Int32, Int32) Returns a substring of the formatted string, optionally including prompt and literal characters.
Public method ToString(Boolean, Boolean, Boolean, Int32, Int32) Returns a substring of the formatted string, optionally including prompt, literal, and password characters.
Public method VerifyChar Tests whether the specified character could be set successfully at the specified position.
Public method VerifyEscapeChar Tests whether the specified character would be escaped at the specified position.
Public method VerifyString(String) Tests whether the specified string could be set successfully.
Public method VerifyString(String, Int32, MaskedTextResultHint) Tests whether the specified string could be set successfully, and then outputs position and descriptive information.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.