Version

GetText(InputMaskMode) Method

Returns the current text of the editor based on the specified mask mode.
Syntax
'Declaration
 
Public Function GetText( _
   ByVal maskMode As InputMaskMode _
) As String
public string GetText( 
   InputMaskMode maskMode
)

Parameters

maskMode
The mode that determines how literals and prompt characters are accounted for.

Return Value

The current text of the editor with the specified mask mode applied to it.
Remarks

Text property can also be used to retrieve the current text of the editor. The Text property will return a value with the mask mode specified by the DataMode property applied to the returned value. This method allows you to use any mode without having to set the DataMode property.

Any of Value, Text and DisplayText properties can also be used to retrieve the current value of the editor.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also