IMimePropertySet::DeleteProp method

Deletes the specified property.

Syntax

HRESULT DeleteProp(
  [in] LPCSTR pszName
);

Parameters

pszName [in]

Type: LPCSTR

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 pszName is NULL.
MIME_E_NOT_FOUND
Indicates that pszName does not specify an existing property.

Remarks

A property ID can also be passed into this method through the pszName 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)