Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the set of completion characters for a requested completion context.
Syntax
HRESULT GetChars(
DWORD fRequestedList,
BSTR *pbstrChars
);
Parameters
fRequestedList
[in] The requested completion context.
Constant | Value | Description |
---|---|---|
SCRIPT_CMPL_ENUM_TRIGGER | 0x0001 | Requests the left side enumeration. |
SCRIPT_CMPL_MEMBER_TRIGGER | 0x0002 | Requests the member completion context. |
SCRIPT_CMPL_PARAM_TRIGGER | 0x0003 | Requests the parameter list. |
SCRIPT_CMPL_COMMIT | 0x0004 | Requests completion of the parameter list. |
pbstrChars
[out] The characters that correspond to the requested completion context.
fRequestedList parameter |
Characters returned |
---|---|
SCRIPT_CMPL_ENUM_TRIGGER | "." |
SCRIPT_CMPL_MEMBER_TRIGGER | "=" |
SCRIPT_CMPL_PARAM_TRIGGER | "(," |
SCRIPT_CMPL_COMMIT | "()" |
Return Value
An HRESULT
. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK |
The method succeeded. |