November Happy Hour will be moved to Thursday December 5th.
PropertyCriteria criteria = new PropertyCriteria(); criteria.Condition = CompareCondition.Equal; criteria.Name = "PageTypeID"; criteria.Type = PropertyDataType.PageType; criteria.Value = Locate.ContentTypeRepository().Load("PageTypeNewsItem").ID.ToString(); criteria.Required = true;
http://sdkbeta.episerver.com/SDK-html-Container/?path=/SdkDocuments/CMS/7/Knowledge%20Base/Developer%20Guide/Search/Search%20for%20pages%20based%20on%20page%20type%20property.htm&vppRoot=/SdkDocuments//CMS/7/Knowledge%20Base/Developer%20Guide/
Is there a non-magic-string way for the criteria.Value row?
http://sdkbeta.episerver.com/SDK-html-Container/?path=/SdkDocuments/CMS/7/Knowledge%20Base/Developer%20Guide/Search/Search%20for%20pages%20based%20on%20page%20type%20property.htm&vppRoot=/SdkDocuments//CMS/7/Knowledge%20Base/Developer%20Guide/
Is there a non-magic-string way for the criteria.Value row?