To get all page types in EPiServer, use the following code:
var pageTypes = EPiServer.DataAbstraction.PageType.List();
You must be logged in to post a comment.