VerifySetDefaults()
Contents
[
Hide
]Cookie::VerifySetDefaults(CookieVariant, System::SharedPtr<Uri>, bool, String, bool, bool) method
Verifies and sets the default attribute’s values.
bool System::Net::Cookie::VerifySetDefaults(CookieVariant variant, System::SharedPtr<Uri> uri, bool isLocalDomain, String localDomain, bool setDefault, bool shouldThrow)
Arguments
Parameter | Type | Description |
---|---|---|
variant | CookieVariant | The cookie’s specification. |
uri | System::SharedPtr<Uri> | The Uri-class instance that is used to initialize the internal fields. |
isLocalDomain | bool | A value that indicates if the cookie is pushed into the the local domain. |
localDomain | String | A local domain name. |
setDefault | bool | A value that indicates if the cookie’s attributes must be initialized using their default values. |
shouldThrow | bool | A value that indicates if an exception should be thrown when the specified values are invalid. |
Return Value
True when all values are valid, otherwise false.
See Also
- Enum CookieVariant
- Typedef SharedPtr
- Class Uri
- Class String
- Class Cookie
- Namespace System::Net
- Library Aspose.Slides