public override bool Equals(Object obj)
{
//Check for null and compare run-time types.
if (obj == null || GetType() != obj.GetType()) return false;
if (obj is ContentPage) {
ContentPage p = (ContentPage)obj;
return (this.ContentID == p.ContentID)
&& (this.SiteID == p.SiteID)
&& (this.Root_ContentID == p.Root_ContentID);
} else {
return false;
}
}