Partager via


FPropExists

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Searches for a given property tag in an IMAPIProp interface or an interface derived from IMAPIProp, such as IMessage or IMAPIFolder.

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications and service providers

BOOL FPropExists(
  LPMAPIPROP pobj,
  ULONG ulPropTag
);

Parameters

  • pobj
    [in] Pointer to the IMAPIProp interface or interface derived from IMAPIProp within which to search for the property tag.

  • ulPropTag
    [in] Property tag for which to search.

Return Value

  • TRUE
    A match for the given property tag was found.

  • FALSE
    A match for the given property tag was not found.

Remarks

If the property tag in the ulPropTag parameter has type PT_UNSPECIFIED, the FPropExists function looks for a match based only on the property identifier. Otherwise, the match is for the entire property tag, including the type.