Variant.ToChar Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
char ToChar();
public:
char16 ToChar();
char ToChar();
public char ToChar ();
member this.ToChar : unit -> char
Public Function ToChar () As Char
Returns
If the variant type is VT_UI2, returns the value interpreted as a character; otherwise, returns 0.
Remarks
This method is used by the HandlePreExec method on the ViewFilter class to actually get the character value.