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.IsPunctuation

Determines whether the specified character is a punctuation mark.

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

Parameters

c
The character to examine.

Return Value

true if the character is a punctuation mark, otherwise false.

Exceptions

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

Remarks

The IsPunctuation method compares the current character instance with IsPunctuation and returns a true or false indication whether the character that was checked is lowercase. (See CharacterInfo.)

See Also

Char Structure | Char Members | System Namespace | Boolean