Breaking change: PageTypeID in PageData

Vote:
 

Episerver 11 PageData had property PageTypeID.

How can i fetch this property having PageData?

Is it ContentTypeId?

        //
        // Summary:
        //     Gets or sets the content type ID that this EPiServer.Core.ContentData is an instance
        //     of.
        public virtual int ContentTypeID
        {
            get
            {
                return (int)(GetValue("PageTypeID") ?? ((object)0));
            }
            set
            {
                SetValue("PageTypeID", value);
            }
        }
#292789
Edited, Dec 07, 2022 7:48
Vote:
 

Yes. ContentTypeID should be the same as PageTypeID just with more consistent naming.

#292790
Dec 07, 2022 9:29
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.