IInkDivisionUnits::Item method (msinkaut15.h)

Retrieves the IInkDivisionUnit object at the specified index within the IInkDivisionUnits collection.

Syntax

HRESULT Item(
  [in]          long             Index,
  [out, retval] IInkDivisionUnit **InkDivisionUnit
);

Parameters

[in] Index

The zero-based index of the IInkDivisionUnit object to get.

[out, retval] InkDivisionUnit

When this method returns, contains a pointer to the IInkDivisionUnit object at the specified index within the IInkDivisionUnits collection.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
A parameter contains an invalid pointer.
E_INVALIDARG
A parameter contains an invalid value.
E_UNEXPECTED
Unexpected parameter or property type.
E_INK_EXCEPTION
An exception occurred inside the method.

Remarks

An error occurs if the index doesn't match any existing member of the collection.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut15.h
Library Inkdiv.dll

See also

IInkDivisionUnit Interface

IInkDivisionUnits Interface