Пример #1
0
 /// <summary>
 /// Creates a record with the specified number of fields.
 /// </summary>
 /// <param name="fieldCount">Number of fields in record.</param>
 public Record(int fieldCount)
 {
     this.Handle = MsiInterop.MsiCreateRecord(fieldCount);
     if (0 == this.Handle)
     {
         throw new OutOfMemoryException();
     }
 }