System.ComponentModel.MaskedTextProvider.IsValidMaskChar Method

Determines whether the specified character is a valid mask character.

Syntax

public static bool IsValidMaskChar (char c)

Parameters

c
The char value to test.

Returns

true if the specified character contains a valid mask value; otherwise false.

Remarks

Valid mask characters include all printable characters, which include letters, digits, punctuation, symbols and the space character.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0