Share via


INameValueCollection::Insert method

Adds a name/value pair to the collection at the specified index.

Syntax

HRESULT Insert(
  [in] long       index,
  [in] INameValue var
);

Parameters

  • index [in]
    A zero-based index value.

  • var [in]
    An INameValue interface that contains the name/value pair to add.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

INameValueCollection