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.
The ITfContextOwner::GetAttribute method returns the value of a supported attribute. If the attribute is unsupported, the pvarValue parameter is set to VT_EMPTY.
Syntax
HRESULT GetAttribute(
[in] REFGUID rguidAttribute,
[out] VARIANT *pvarValue
);
Parameters
[in] rguidAttribute
Specifies the attribute GUID.
[out] pvarValue
Receives the attribute value. If the attribute is unsupported, this parameter is set to VT_EMPTY.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
Remarks
Context owners using the default text store of the TSF manager can implement a simplified version of attributes with this method. The supported attributes are application or text service dependent. For more information about predefined attributes recognized in TSF, see the following topics.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | msctf.h |
| DLL | Msimtf.dll |
| Redistributable | TSF 1.0 on Windows 2000 Professional |