Automation:
void
CaseOp
(
[in]
IMultiSelection
pSelection,
[in]
enum CaseOpType
type,
[in]
bool
Unicode,
[in, optional]
Variant
CodePage)
;
Native (C++):
HRESULT
CaseOp
(
[in]
IMultiSelection *
pSelection,
[in]
enum CaseOpType
type,
[in]
VARIANT_BOOL
Unicode,
[in, optional]
VARIANT
CodePage)
;
Parameters
pSelection
The multiple selection object which contains ranges for this operation to work on.
type
The operation to perform. Can be one of the following values:
| CaseOpLower |
0 |
Make selection lowercase |
| CaseOpUpper |
1 |
Make selection uppercase |
| CaseOpToggle |
2 |
Invert selection |
Unicode
True to treat selection data as Unicode, False otherwise. If this parameter is true, all blocks in a given selection must have alignment of 2 bytes.
CodePage
Optional code page that describes the encoding used in the selection. Ignored if Unicode parameter is True.
Return Value
S_OK or standard OLE error code.