IReadOnlyCollection<T> 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過集合公開 Count 屬性的簡單介面
generic <typename T>
public interface class IReadOnlyCollection : Microsoft::VisualStudio::GraphModel::IHasGraphOwner, System::Collections::Generic::IEnumerable<T>
public interface IReadOnlyCollection<T> : Microsoft.VisualStudio.GraphModel.IHasGraphOwner, System.Collections.Generic.IEnumerable<T>
type IReadOnlyCollection<'T> = interface
interface seq<'T>
interface IEnumerable
interface IHasGraphOwner
Public Interface IReadOnlyCollection(Of T)
Implements IEnumerable(Of T), IHasGraphOwner
類型參數
- T
- 衍生
- 實作
屬性
Count |
透過集合公開 Count 屬性的簡單介面 |
Owner |
取得這個物件所屬的 Graph。 (繼承來源 IHasGraphOwner) |
擴充方法
EmptyIfNull<T>(IEnumerable<T>) |
如果不是 Null,則傳回這個列舉。 如果是 null,則傳回空列舉。 |