public DeleteContentListType ( |
||
listType | ||
Résultat | void |
public void DeleteContentListType(ContentListType listType)
{
if (listType == null)
throw new ArgumentNullException("listType");
if (listType.SchemaRoot != this)
throw new SchemaEditorCommandException(SR.Exceptions.Schema.Msg_InconsistentHierarchy);
listType.PropertyTypes.Clear();
this.ContentListTypes.Remove(listType);
}
#endregion