PagePorter Class Library

Navigation.AddPage Method (String, Int32)

Adds a child page to the navigation structure.

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

Parameters

url
The url for the page to add.
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