ReadOnlyObservableCollection<T>.Empty 属性

定义

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

属性值

一个空 ReadOnlyObservableCollection<T>

注解

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

适用于