IContactProperties::DeleteArrayNode method (icontact.h)

Deletes the data at a specified array entry.

Syntax

HRESULT DeleteArrayNode(
  [in] LPCWSTR pszArrayElementName,
  [in] DWORD   dwFlags
);

Parameters

[in] pszArrayElementName

Type: LPCWSTR

Specifies array entry from which to remove all data.

[in] dwFlags

Type: DWORD

Must be CGD_DEFAULT.

Return value

Type: HRESULT

Returns one of the following values:

Return code Description
S_OK
Node is deleted.
ERROR_PATH_NOT_FOUND
Property name doesn't exist for delete.

Remarks

Note  Element indexes are unchanged for the entire set. Array node element ID, modification and version data can still be enumerated with IContactPropertyCollection.
 

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header icontact.h (include Contact.h)
DLL Wab32.dll (Version 6.0 or later)