Dynamicweb 8 Documentation
GetPageviewByPageID(Int32) Method

ID of a page.
Retrieves an instance of the pageview of page specified by page ID. Use PageView.Current for accessing the pageview instance in a frontend context.
Syntax
'Declaration
 
Public Shared Function GetPageviewByPageID( _ 
   ByVal PageID As Integer _ 
) As PageView
public static PageView GetPageviewByPageID( 
   int PageID 
)

Parameters

PageID
ID of a page.
Remarks
Returns a PageView object of that page specified by page ID
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PageView Class
PageView Members

Send Feedback