Clone

ITfRange::Clone method

The ITfRange::Clone method duplicates this range of text.

Syntax


HRESULT Clone(
  [out] ITfRange **ppClone
);

Parameters

ppClone [out]

Pointer to a new range object that references this range.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_OUTOFMEMORY

The method was unable to generate a pointer to the new range.

 

Remarks

The resulting new range object can be modified without affecting the original. However, modifying the document that contains the new range might cause the original range's anchors to be repositioned.

The gravity of the original is preserved in the new range.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfRange
Text Stores
Ranges

 

 

Show:
© 2016 Microsoft