Version

RegisterDefaultMaskForType Method

Changes the default mask used by the masked editor for the specified data type.
Syntax
'Declaration
 
Public Shared Sub RegisterDefaultMaskForType( _
   ByVal dataType As Type, _
   ByVal mask As String _
) 
public static void RegisterDefaultMaskForType( 
   Type dataType,
   string mask
)

Parameters

dataType
mask
Remarks

If a mask is not explicitly specified on a masked editor or derived editor, a default is calculated based on the data type. You can override these default calculated masks using this method.

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