ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Clear 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取空字典,其具有與字典執行個體相同的順序和索引鍵/值比較規則。
virtual System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Clear() = System::Collections::Immutable::IImmutableDictionary<TKey, TValue>::Clear;
System.Collections.Immutable.IImmutableDictionary<TKey,TValue> IImmutableDictionary<TKey,TValue>.Clear ();
abstract member System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Clear : unit -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
override this.System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Clear : unit -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Function Clear () As IImmutableDictionary(Of TKey, TValue) Implements IImmutableDictionary(Of TKey, TValue).Clear
傳回
固定字典執行個體。