Share via


Vector.Remove method

Removes the designated element.

Syntax

pvResult = .Remove( _
  ByVal Index As LONG _
) As HRESULT

Parameters

Index [in]

Type: LONG

Required. Long value.

Return value

Type: VARIANT*

Returns the designated element on success, otherwise returns Nothing.

Remarks

For example code, see Use a Vector Object in Shared Samples.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Vector