Επεξεργασία

Κοινή χρήση μέσω


ReadOnlyCollection<T>.Empty Property

Definition

Gets an 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)

Property Value

An empty ReadOnlyCollection<T>.

Remarks

The returned instance is immutable and will always be empty.

Applies to