ITCollection2::Remove method (tapi3if.h)

The Remove method deletes an item from the collection at the specified index.

Syntax

HRESULT Remove(
  [in] long Index
);

Parameters

[in] Index

Specifies the location in the collection of the item to remove.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_INVALIDARG
The Index parameter does not specify a valid index.
E_OUTOFMEMORY
There is not enough memory to reallocate the collection.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h
Library Uuid.lib
DLL Tapi3.dll

See also

Add

ITCollection2