internal PropertySheet CreatePropertySheet(int sheetId, PropertyPageCollection pageCollection, AuxiliarySelectionData auxiliarySelectionData)
{
if (pageCollection == null)
{
throw new ArgumentNullException("pageCollection");
}
PropertySheet sheet = new PropertySheet(this, sheetId, auxiliarySelectionData);
sheet.AddPropertyPages(pageCollection);
this.AddPropertySheet(sheet);
return sheet;
}