/// <summary> /// Determines if the value is null at the specified location. /// </summary> /// <param name="field">Index into record of the field to query.</param> /// <returns>true if the value is null, false otherwise.</returns> public bool IsNull(int field) { int error = MsiInterop.MsiRecordIsNull(this.Handle, field); switch (error) { case 0: return(false); case 1: return(true); default: throw new Win32Exception(error); } }