EPiServer get all page types

To get all page types in EPiServer, use the following code:

var pageTypes = EPiServer.DataAbstraction.PageType.List();

Leave a Reply

You must be logged in to post a comment.