Intersoft WebInput Documentation
IsValidChar Method
See Also  Send Feedback
ISNet.WebUI.WebControls Namespace > MaskInfo Class : IsValidChar Method






character
A char to be checked.
placeHolder
A placeholder to be checked.

Glossary Item Box

Determine whether a character is a valid placeholder character.

Syntax

Visual Basic (Declaration) 
Public Function IsValidChar( _
   ByVal character As System.Char, _
   ByVal placeHolder As System.Char _
) As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As MaskInfo
Dim character As System.Char
Dim placeHolder As System.Char
Dim value As System.Boolean
 
value = instance.IsValidChar(character, placeHolder)
C# 
public System.bool IsValidChar( 
   System.char character,
   System.char placeHolder
)
Delphi 
public function IsValidChar( 
    character: System.Char;
    placeHolder: System.Char
): System.Boolean; 
JScript 
public function IsValidChar( 
   character : System.char,
   placeHolder : System.char
) : System.boolean;
Managed Extensions for C++ 
public: System.bool IsValidChar( 
   System.char character,
   System.char placeHolder
) 
C++/CLI 
public:
System.bool IsValidChar( 
   System.char character,
   System.char placeHolder
) 

Parameters

character
A char to be checked.
placeHolder
A placeholder to be checked.

Return Value

true if value is valid; otherwise, false.

Requirements

Target Platforms: Windows 7, 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

© 2013 Intersoft Solutions Corp. All Rights Reserved.