IWriteCookie::get_HasKeys

IIS 6.0

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


HRESULT get_HasKeys(
      VARIANT_BOOL* pfHasKeys
);

pfHasKeys

[retval] [out] Points to a Boolean that indicates whether or not the cookie has keys.

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.

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Show: