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!

Control.IsMnemonic

Determines if charCode is the mnemonic character in text. The mnemonic character is the character imediately following the first instance of "&" in text

[Visual Basic]
Public Shared Function IsMnemonic( _
   ByVal charCode As Char, _
   ByVal text As String _
) As Boolean
[C#]
public static bool IsMnemonic(
   char charCode,
   string text
);
[C++]
public: static bool IsMnemonic(
   __wchar_t charCode,
   String* text
);
[JScript]
public static function IsMnemonic(
   charCode : Char,
   text : String
) : Boolean;

Parameters

charCode
Character to test.
text
String to search.

Return Value

true if charCode is the mnemonic character.

See Also

Control Class | Control Members | System.WinForms Namespace