Share via


IUri::HasProperty method

Determines if the specified property exists in the Uniform Resource Identifier (URI).

Syntax

HRESULT HasProperty(
  [in]  Uri_PROPERTY uriProp,
  [out] BOOL         *pfHasProperty
);

Parameters

  • uriProp [in]
    A value from the Uri_PROPERTY enumeration.

  • pfHasProperty [out]
    Address of a BOOL value. Set to TRUE if the specified property exists in the URI.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

IUri::HasProperty was introduced in Windows Internet Explorer 7.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003 with SP1

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IUri

Reference

GetProperties

GetPropertyBSTR

GetPropertyDWORD