IMimeMessageW::DeletePropW method

[DeletePropW is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Deletes a property from the root header of a message.

Syntax

HRESULT DeletePropW(
  [in] LPCWSTR pwszName
);

Parameters

pwszName [in]

Type: LPCWSTR

Specifies the property name or ID.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an unknown error has occurred.
E_INVALIDARG
Indicates that pwszName is NULL.
MIME_E_NOT_FOUND
Indicates that the property specified by pwszName cannot be found.

Remarks

A property ID can also be passed into this method through the pwszName parameter using the PIDTOSTR macro.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Mimeole.h
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)