CreateContentListType() public abstract method

public abstract CreateContentListType ( string name ) : void
name string
return void
Example #1
0
 private static void WriteCreateOrModifyContentListTypes(SchemaEditor origSchema, SchemaEditor newSchema, List <PropertySet> modifiedPropertySets, SchemaWriter writer)
 {
     foreach (var newType in newSchema.ContentListTypes)
     {
         if (NeedToCreate <ContentListType>(origSchema.ContentListTypes, newType))
         {
             writer.CreateContentListType(newType.Name);
         }
         WriteAddOrRemovePropertyTypes(origSchema.ContentListTypes[newType.Name], newType, modifiedPropertySets, writer);
     }
 }