Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Obtains a range object that contains the text covered by the composition.
Syntax
HRESULT GetRange(
  [out] ITfRange **ppRange
);
Parameters
[out] ppRange
Pointer to an ITfRange interface pointer that receives the range object. It is possible that the range will have zero length.
Return value
This method can return one of these values.
| Value | Description | 
|---|---|
  | 
The method was successful. | 
  | 
An unspecified error occurred. | 
  | 
ppRange is invalid. | 
  | 
A memory allocation failure occurred. | 
  | 
The composition has already terminated. | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] | 
| Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] | 
| Target Platform | Windows | 
| Header | msctf.h | 
| DLL | Msctf.dll | 
| Redistributable | TSF 1.0 on Windows 2000 Professional |