ReadOnlyCollection<T>.Empty 属性

定义

获取空 ReadOnlyCollection<T>

public:
 static property System::Collections::ObjectModel::ReadOnlyCollection<T> ^ Empty { System::Collections::ObjectModel::ReadOnlyCollection<T> ^ get(); };
public static System.Collections.ObjectModel.ReadOnlyCollection<T> Empty { get; }
static member Empty : System.Collections.ObjectModel.ReadOnlyCollection<'T>
Public Shared ReadOnly Property Empty As ReadOnlyCollection(Of T)

属性值

一个空 ReadOnlyCollection<T>

注解

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

适用于