PagePorter Class Library

Navigation.AddPage Method (String, String)

Adds a global page to the navigation structure.

[Visual Basic]
Overloads Public Function AddPage( _
   ByVal url As String, _
   ByVal caption As String _
) As Integer
[C#]
public int AddPage(
   string url,
   string caption
);

Parameters

url
The url for the page to add.
caption
The page caption to use instead of the page's title.

Return Value

The page identifier of the new page, or zero if not added.

See Also

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