import"IWebHistoryItem.idl";
◆ alternateTitle()
HRESULT IWebHistoryItem::alternateTitle |
( |
[out, retval] BSTR * |
title | ) |
|
◆ icon()
HRESULT IWebHistoryItem::icon |
( |
[out, retval] HBITMAP * |
hBitmap | ) |
|
icon The favorite icon of the page represented by this item. This icon returned will be determined by the WebKit.
- Returns
- The icon associated with this item's URL.
◆ initWithURLString()
HRESULT IWebHistoryItem::initWithURLString |
( |
[in] BSTR |
urlString, |
|
|
[in] BSTR |
title, |
|
|
[in] DATE |
lastVisited |
|
) |
| |
initWithURLString:title:lastVisitedTimeInterval:
- Parameters
-
URLString | The URL string for the item. |
title | The title to use for the item. This is normally the <title> of a page. |
time | The time used to indicate when the item was used. Initialize a new WebHistoryItem WebHistoryItems are normally created for you by the WebKit. You may use this method to prepopulate a WebBackForwardList, or create 'artificial' items to add to a WebBackForwardList. When first initialized the URLString and originalURLString will be the same.
- (id)initWithURLString:(NSString *)URLString title:(NSString *)title lastVisitedTimeInterval:(NSTimeInterval)time;
|
◆ lastVisitedTimeInterval()
HRESULT IWebHistoryItem::lastVisitedTimeInterval |
( |
[out, retval] DATE * |
lastVisited | ) |
|
lastVisitedTimeInterval The last time the page represented by this item was visited. The interval is since the reference date as determined by NSDate. This value is normally set by the WebKit.
- Returns
- The last time this item was visited.
- (NSTimeInterval)lastVisitedTimeInterval;
◆ originalURLString()
HRESULT IWebHistoryItem::originalURLString |
( |
[out, retval] BSTR * |
url | ) |
|
originalURLString The string representation of the originial URL of this item. This value is normally set by the WebKit.
- Returns
- The string corresponding to the initial URL of this item.
- (NSString *)originalURLString;
◆ setAlternateTitle()
HRESULT IWebHistoryItem::setAlternateTitle |
( |
[in] BSTR |
title | ) |
|
setAlternateTitle:
- Parameters
-
alternateTitle | The new display title for this item. A title that may be used by the client to display this item.
- (void)setAlternateTitle:(NSString *)alternateTitle;
|
◆ title()
HRESULT IWebHistoryItem::title |
( |
[out, retval] BSTR * |
pageTitle | ) |
|
title The title of the page represented by this item. This title cannot be changed by the client. This value is normally set by the WebKit when a page title for the item is received.
- Returns
- The title of this item.
◆ URLString()
HRESULT IWebHistoryItem::URLString |
( |
[out, retval] BSTR * |
url | ) |
|
URLString The string representation of the URL represented by this item. The URLString may be different than the originalURLString if the page redirected to a new location. This value is normally set by the WebKit.
- Returns
- The string corresponding to the final URL of this item.
The documentation for this interface was generated from the following file: