PagePorter Class Library

Navigation.GetPrevNextPageIDs Method (Int32)

Returns information about the previous and next pages in the navigation structure.

[Visual Basic]
Overloads Public Function GetPrevNextPageIDs( _
   ByVal pageID As Integer _
) As Integer()
[C#]
public int[] GetPrevNextPageIDs(
   int pageID
);

Parameters

pageID
The page ID of the reference page.

Return Value

An array of page identifiers. The first is the previous page id, and the second is the next page id. Both may be zero if there are fewer than two links on this navigation level.

Remarks

Both URLs must be in relative format. This method ignores pages marked as Excluded.

See Also

Navigation Class | Parastream.Web.MsFrontPage Namespace | Navigation.GetPrevNextPageIDs Overload List