閱讀英文版本

分享方式:


OrderedDictionary<TKey,TValue>.KeyCollection.Enumerator.IDisposable.Dispose 方法

定義

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

C#
void IDisposable.Dispose();

實作

備註

這個成員是明確的介面成員實作。 只有當 <xref:System.Collections.Generic.OrderedDictionary'2.KeyCollection.Enumerator> 實例轉換成 <xref:System.IDisposable> 介面時,才能使用它。

適用於

產品 版本
.NET 9, 10