PagePorter Class Library

Navigation.GetPage Method (Int32, Boolean)

Returns the NavigationPage object for a given page identifier that is not marked as Exclude.

[Visual Basic]
Overloads Public Function GetPage( _
   ByVal pageID As Integer, _
   ByVal noExcluded As Boolean _
) As NavigationPage
[C#]
public NavigationPage GetPage(
   int pageID,
   bool noExcluded
);

Parameters

pageID
The page identifier of the requested page.
noExcluded
Set to true to exclude pages marked as Excluded.

Return Value

The NavigationPage object, or null (Nothing in Visual Basic) if the page does not exist.

See Also

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