PagePorter Class Library

Navigation.GetPrevNextPageIDs Method (Int32, Int32)

Returns information about the previous and next pages in a custom link bar.

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

Parameters

pageID
The page ID of the reference page.
linkBarID
The page ID of the custom link bar.

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