Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Returns the IInkExtendedPropertyobject at the specified index within the IInkExtendedPropertiescollection.
Syntax
HRESULT Item ( [in] VARIANT identifier, [out, retval] IInkExtendedProperty **Item ); |
Parameters
- Identifier
-
The zero–based index or GUIDof the IInkExtendedPropertyobject to get.
For more information about the VARIANT structure, see Using the Automation Library with Windows Mobile Ink.
- Item
-
Returns the IInkExtendedPropertyobject at the specified index within the IinkExtendedPropertiescollection.
Return Value
HRESULT value | Description |
---|---|
S_OK |
Success. |
E_POINTER |
A parameter contained an invalid pointer. |
E_FAIL |
An unspecified error occurred. |
CO_E_CLASSTRING |
Invalid GUID format. |
DISP_E_TYPEMISMATCH |
One of the parameters is not a valid VARIANT type. |
E_INVALIDARG |
Invalid argument. |
E_UNEXPECTED |
Unexpected parameter or property type. |
REGDB_CLASSNOTREG |
Type object not registered. |
E_OUTOFMEMORY |
Cannot allocate memory to complete the operation. |
E_INK_EXCEPTION |
An exception occurred inside the method. |
TPC_E_RECOGNIZER_NOT_REGISTERED |
The recognizer's registry key is corrupted. |
Remarks
An error occurs if the index doesn't match any existing member of the collection.
The Itemmethod takes an input argument of type VARIANT (See VARIANT and VARIANTARG). However, the subtype of this variable must be integer or STRING ( BSTR). This means that when you are using late binding, such as when you dimension a variable as type OBJECT in Visual Basic 6.0 or when you use a scripting language, you must either dimension the argument variable as a STRING (Visual Basic 6.0) or pass in the argument as a STRING literal and not use a variable (script).
Requirements
Header | msinkaut.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later |