/// <summary> /// Reports whether a record field is null. /// </summary> /// <param name="field">Specifies the field to check.</param> /// <returns>True if the field is null, false otherwise.</returns> /// <exception cref="ArgumentOutOfRangeException">The field is less than 0 or greater than the /// number of fields in the Record.</exception> /// <remarks><p> /// Win32 MSI API: /// <a href="http://msdn.microsoft.com/library/en-us/msi/setup/msirecordisnull.asp">MsiRecordIsNull</a> /// </p></remarks> public bool IsNull(int field) { this.CheckRange(field); return(RemotableNativeMethods.MsiRecordIsNull((int)this.Handle, (uint)field)); }