GetPage(Guid,Int32) Method
KalikoCMS Namespace > PageFactory Class > GetPage Method : GetPage(Guid,Int32) Method |
Page identifier.
Language identifier.
Get a specified page. This will return a CmsPage object so you will not find it's properties strongly typed. Instead you can access them using the objects Property collection (myPage.Property["MyPropertyName"])
Syntax
'Declaration
Public Overloads Shared Function GetPage( _ ByVal pageId As Guid, _ ByVal languageId As Integer _ ) As CmsPage
public static CmsPage GetPage( Guid pageId, int languageId )
Parameters
- pageId
- Page identifier.
- languageId
- Language identifier.
Return Value
Returns a generic page object.
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