Thresher 1.2 Class Documentation

Rfc2812Util.CharToUserMode Method 

Converts the char recived from the IRC server into its enum equivalent.

[Visual Basic]
Public Shared Function CharToUserMode( _
   ByVal mode As Char _
) As UserMode
[C#]
public static UserMode CharToUserMode(
   char mode
);

Parameters

mode
One of the IRC mode characters, e.g. 'a','i', etc...

Return Value

An mode enum.

See Also

Rfc2812Util Class | Sharkbite.Irc Namespace