ドキュメント

Unity Engine

Unity Engine

Remove

Removes a key and its associated value(s).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

Remove(T)

Removes a key and its associated value(s).
public int Remove(TKey key)

Parameters

key

T
The key to remove.

Returns

Type

Description

intThe number of removed key-value pairs. If the key was not present, returns 0.

Remove(NativeParallelMultiHashMapIterator<T>)

Removes a single key-value pair.
public void Remove(NativeParallelMultiHashMapIterator<TKey> it)

Parameters

An iterator representing the key-value pair to remove.