コード例 #1
0
ファイル: Message.cs プロジェクト: mgnsm/Millistream.NET
 /// <summary>
 /// Removes the current active message from the message handle and all the fields that you have added for this message. Points the current message at the previous message in the message handle if it exists, so repeated calls will reset the whole message handle just like <see cref="Reset()"/> had been called.
 /// </summary>
 /// <returns><see langword="true" /> if there are more active messages in the message handle or <see langword="false" /> if the message handle is now empty.</returns>
 /// <exception cref="ObjectDisposedException">The <see cref="Message"/> instance has been disposed.</exception>
 /// <remarks>The corresponding native function is mdf_message_del.</remarks>
 public bool Delete()
 {
     ThrowIfDisposed();
     return(_nativeImplementation.mdf_message_del(Handle) == 1);
 }