示例#1
0
 public static void DeletePropertyRecordIncludingValueRecords(PropertyRecord record)
 {
     foreach (PropertyBlock block in record)
     {
         foreach (DynamicRecord valueRecord in block.ValueRecords)
         {
             Debug.Assert(valueRecord.InUse());
             valueRecord.InUse = false;
             record.AddDeletedRecord(valueRecord);
         }
     }
     record.ClearPropertyBlocks();
     record.InUse = false;
 }