Creates and initializes an NSHTTPCookie object using the provided properties.
Original signature is '+ (id)cookieWithProperties:(NSDictionary *)properties'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.

C# | Visual Basic | Visual C++ |
public static Id CookieWithProperties( NSDictionary properties )
Public Shared Function CookieWithProperties ( _ properties As NSDictionary _ ) As Id
public: static Id^ CookieWithProperties( NSDictionary^ properties )

- properties (NSDictionary)
- The properties for the new cookie object, expressed as key value pairs.

The newly created cookie object. Returns nil if the provided properties are invalid.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)