|
using System;
namespace Pajocomo.Windows.Forms
{
/// <summary>
/// Contains values used with the <see cref="IWebBrowserObject.Refresh"/> method.
/// </summary>
/// <remarks>
/// The "pragma:nocache" header tells the server not to return a cached copy but to ensure that the information is as fresh as possible. Browsers typically send this header when the user selects Refresh, but the header can cause problems for some servers.
/// </remarks>
public enum RefreshOption
{
/// <summary>
/// Refresh that does not include sending the HTTP "pragma:nocache" header to the server.
/// </summary>
Normal = 0,
/// <summary>
/// Refresh that occurs if the page has expired.
/// </summary>
IfExpired = 1,
/// <summary>
/// For internal use only; do not use.
/// </summary>
Continue = 2,
/// <summary>
/// Refresh that includes sending a "pragma:nocache" header to the server (HTTP URLs only).
/// </summary>
Completely = 3
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.