System::Net::CookieCollection::InternalAdd method

CookieCollection::InternalAdd method

Adds the specified cookie to the collection.

int32_t System::Net::CookieCollection::InternalAdd(System::SharedPtr<Cookie> cookie, bool isStrict)
ParameterTypeDescription
cookieSystem::SharedPtr<Cookie>The cookie to add.
isStrictboolTrue when the specified cookie must replace the old one, otherwise false.

ReturnValue

0 when the specified cookie replaced the old one, otherwise 1.

See Also