Version

GetDefaultMaskForType Method

Returns the default mask that will be used for the specified data type by the MaskedInput and derived editors for the specified data type.
Syntax
'Declaration
 
Public Shared Function GetDefaultMaskForType( _
   ByVal dataType As Type _
) As String
public static string GetDefaultMaskForType( 
   Type dataType
)

Parameters

dataType
Gets the default mask that will be used for the specified data type, if a default exists for this type.
Remarks

You can change the default masks using the RegisterDefaultMaskForType static 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