IContactProperties::DeleteProperty Method

Deletes the value at a specified property. Property modification and version data can still be enumerated with IContactPropertyCollection.

Syntax

HRESULT DeleteProperty(
  [in]  LPCWSTR pszPropertyName,
  [in]  DWORD dwFlags
);

Parameters

pszPropertyName [in]
LPCWSTR

Specifies the property to delete the value for.

dwFlags [in]
DWORD

Must be CGD_DEFAULT.

Return Value

HRESULT

Returns one of the following values:

Return codeDescription
S_OK

Property deleted successfully.

ERROR_PATH_NOT_FOUND

Property name doesn't exist for delete.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Contact.h

IDL

Icontact.idl

DLL

Wab32.dll version 6.0 or later

See Also

IContactProperties

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Show: