public void Save() { CheckDisposed(); if (string.IsNullOrEmpty(_prefFileName)) { throw new InvalidOperationException("This word alignment model cannot be saved."); } Thot.swAlignModel_save(Handle, _prefFileName); }