System::Net::CookieCollection::Add 方法

CookieCollection::Add(const System::SharedPtr<Cookie>&) method

向集合中添加 cookie。

void System::Net::CookieCollection::Add(const System::SharedPtr<Cookie> &cookie) override
ParameterType描述
cookieconst System::SharedPtr<Cookie>&要添加的 cookie。

另见

CookieCollection::Add(System::SharedPtr<CookieCollection>) method

将指定集合中的 cookie 添加到当前集合中。

void System::Net::CookieCollection::Add(System::SharedPtr<CookieCollection> cookies)
ParameterType描述
CookieSystem::SharedPtr<CookieCollection>将从中复制 cookie 到当前集合的集合。

另见