共用方式為


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>

備註

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

適用於