RemoveAsync Method
RemoveAsync(TKey)
Removes the vector document associated with the specified key from the collection.
Declaration
Task<IVectorDocument<TValue>> RemoveAsync(TKey key)
Parameters
| TKey | key | The key of the vector document to remove. |
Returns
| Task<IVectorDocument<TValue>> | A task that represents the asynchronous operation. The task result contains the removed vector document, or null if there was no mapping for the key. |