IWriteCookie::get_HasKeys

The IWriteCookie::get_HasKeys method retrieves a Boolean value which indicates whether or not the cookie has keys.

HRESULT get_HasKeys(
  VARIANT_BOOL * pfHasKeys  //pointer to a Boolean that indicates 
                            // whether or not the cookie has keys
);
 

Parameters

pfHasKeys
Points to a Boolean that indicates whether or not the cookie has keys.

Remarks

If the cookie has been implemented as a collection, this method will return TRUE. If the cookie has keys, you can use the IWriteCookie::get__NewEnum method to retrieve an enumerator for iterating through the collection.

See Also

Cookies, IReadCookie::get_HasKeys, IReadCookie::get__NewEnum