ViewFilter.TypeChar(Char) 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.
Executes a TYPECHAR on the current command target chain.
public:
int TypeChar(char ch);
public:
int TypeChar(char16 ch);
int TypeChar(char ch);
public int TypeChar (char ch);
member this.TypeChar : char -> int
Public Function TypeChar (ch As Char) As Integer
Parameters
- ch
- Char
[in] The character command that is to be executed. This can only be a character that can be typed.
Returns
If successful, returns S_OK; otherwise, returns an error code.
Remarks
This method is used to insert a character command into the command target chain by calling the ExecCommand method. This is done when the character command may have been consumed by a handler in the language service but the language service wants the character to also be handled as a normal command.