IContactProperties::DeleteLabels method (icontact.h)

Deletes the labels at a specified array entry.

Syntax

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

Parameters

[in] pszArrayElementName

Type: LPCWSTR

Specifies the property to delete labels on.

[in] dwFlags

Type: DWORD

Must be CGD_DEFAULT.

Return value

Type: HRESULT

Returns one of the following values:

Return code Description
S_OK
Labels deleted successfully.
ERROR_PATH_NOT_FOUND
Property name doesn't exist for delete.

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)