ReadOnlyCollection<T>.Empty Egenskap

Definition

Hämtar en tom 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)

Egenskapsvärde

En tom ReadOnlyCollection<T>.

Kommentarer

Den returnerade instansen är oföränderlig och kommer alltid att vara tom.

Gäller för