MonobjcMonobjc Documented Class Library
ItemAtIndex Method (index)
NamespacesMonobjc.WebKitWebBackForwardListItemAtIndex(Int32)

Returns the item at the specified index in the back-forward list.

Original signature is '- (WebHistoryItem *)itemAtIndex:(int)index'

Available in Mac OS X v10.2 with Safari 1.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual WebHistoryItem ItemAtIndex(
	int index
)
Public Overridable Function ItemAtIndex ( _
	index As Integer _
) As WebHistoryItem
public:
virtual WebHistoryItem^ ItemAtIndex(
	int index
)
Parameters
index (Int32)
The index of the item to return. The position of the current item is index 0, and the position of any other item is expressed as an offset from index 0. For example, the item preceding the current item is at index -1, and the item following the current item is at index 1.
Return Value
The item at the specified index, or nil if index exceeds the bounds of the back-forward list (that is, if index is greater than the value returned by forwardListCount, or less than the negative form of the value returned by backListCount).
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.WebKit (Module: Monobjc.WebKit)