IHTMLControlRange::remove Method

Removes an element from the collection.

Syntax

HRESULT remove(
    long index
);

Parameters

  • index
    [in] A long that specifies the zero-based index of the element to remove from the collection.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLControlRange::add