The PageType type exposes the following members.

Constructors

  NameDescription
PageTypeOverloaded.

Methods

  NameDescription
ClearCache
Clear all items from the cache.
CompareTo
Compares the current instance with another object of the same type. The comparison is made on the SortOrder property of the objects.
Copy
Copy this instanco of PageType
Delete
Delete page type
Equals
Determines whether this instance of PageType and a specified object, which must also be a PageType object, have the same value.
(Overrides Object..::.Equals(Object).)
FileNameForSite
Get the absolute path for the file
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Returns the hash code for this PageType.
(Overrides Object..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
List
List all page types
LoadOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Save
Save changes to page type
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Operators

  NameDescription
Equality
Determines whether two specified PageType objects have the same value.
Inequality
Determines whether two specified PageType objects have different values.

Properties

  NameDescription
AllowedPageTypeNames
Read-only names of page types that can be created under this page type
AllowedPageTypes
Page types that can be created under this page type
DefaultArchivePageLink
The default archive page
DefaultChildOrderRule
The default sort order.
DefaultFrameID
The default frame unique identifier
DefaultPageName
Default page name to use for a page type.
DefaultPeerOrder
The default sort index
Defaults
Default values for meta data
DefaultStartPublishOffset
Default offset to add to current date for a start publish date.
DefaultStopPublishOffset
Default offset to add to current date for a stop publish date.
DefaultVisibleInMenu
If visible in menu should be set by default
Definitions
Get page definitions.(see PageDefinitionCollection)
Description
The page type description
ExportableFileName
Gets the filename in an exportable format which is a application relative path "~"
FileName
RootRelative url to the actual template file (i.e. something starting with "/"). If the backing path from the database is relative (i.e. not starting with "/"), it will be interpreted as relative to the (possibly relocated) UI-folder before being returned as a root-relative path. If the name begins with a magic placeholder (i.e. {EPsUploadDir} or {EPsRootDir}) it is returned unchanged. If the path has not been set null is returned.
GUID
The globally unique identifier
HasDefaultValues
Determine if there are default values configured for this page type.
ID
The unique identifier for this page type
IsAvailable
If page type should be available in edit mode
IsNew
Determine if the page type has been saved to the database.
LocalizedDescription
The page type description localized to curent language
LocalizedName
The name of the page type localized to curent language
Name
The name of the page type
SortOrder
The default sortindex based on other types

See Also