ReadOnlyCollection<T>.Empty Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.