/// <summary> /// Gets the number of fields in record. /// </summary> /// <returns>Count of fields in record.</returns> public int GetFieldCount() { int size = MsiInterop.MsiRecordGetFieldCount(this.Handle); if (0 > size) { throw new Win32Exception(); } return(size); }