PagePorter Class Library

Navigation.AddPage Method (String, String, Int32)

Adds a child page to the navigation structure.

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

Parameters

url
The url for the page to add.
caption
The page caption to use instead of the page's title.
parentID
The page identifier of the parent page, or zero for a global page.

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