NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Char.IsPrintable

Determines whether the specified character is printable.

[Visual Basic]
Public Shared Function IsPrintable( _
   ByVal c As Char _
) As Boolean
[C#]
public static bool IsPrintable(
   char c
);
[C++]
public: static bool IsPrintable(
   __wchar_t c
);
[JScript]
public static function IsPrintable(
   c : Char
) : Boolean;

Parameters

c
The character to examine.

Return Value

true if the character is printable on the user's machine, otherwise false.

Exceptions

Exception Type Condition
ArgumentException if it cannot get the character type information.

Remarks

The IsPrintable method determines whether a character can be printed on the user's printer and prints it using that machine's code pages. If the character is printable, a true or false indication is returned. (See CharacterInfo.)

See Also

Char Structure | Char Members | System Namespace | Boolean