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>

注解

返回的实例是不可变的,并且始终为空。

适用于