共用方式為


ReadOnlyDictionary<TKey,TValue>.Empty 屬性

定義

public:
 static property System::Collections::ObjectModel::ReadOnlyDictionary<TKey, TValue> ^ Empty { System::Collections::ObjectModel::ReadOnlyDictionary<TKey, TValue> ^ get(); };
public static System.Collections.ObjectModel.ReadOnlyDictionary<TKey,TValue> Empty { get; }
static member Empty : System.Collections.ObjectModel.ReadOnlyDictionary<'Key, 'Value>
Public Shared ReadOnly Property Empty As ReadOnlyDictionary(Of TKey, TValue)

屬性值

空的 ReadOnlyDictionary<TKey,TValue>

備註

傳回的實例是不可變的,而且一律是空的。

適用於