InternalAdd()

CookieCollection::InternalAdd(System::SharedPtr<Cookie>, bool) method

Adds the specified cookie to the collection.

int32_t System::Net::CookieCollection::InternalAdd(System::SharedPtr<Cookie> cookie, bool isStrict)

Arguments

ParameterTypeDescription
cookieSystem::SharedPtr<Cookie>The cookie to add.
isStrictboolTrue when the specified cookie must replace the old one, otherwise false.

Return Value

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

See Also