Sdílet prostřednictvím


IReadOnlyCollection<T> Rozhraní

Definice

Jednoduché rozhraní, které zveřejňuje vlastnost Count nad kolekcí

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

Parametry typu

T
Odvozené
Implementuje

Vlastnosti

Count

Jednoduché rozhraní, které zveřejňuje vlastnost Count nad kolekcí

Owner

Získejte graf, do kterého tento objekt patří.

(Zděděno od IHasGraphOwner)

Metody rozšíření

EmptyIfNull<T>(IEnumerable<T>)

Pokud nemá hodnotu null, vraťte tento výčet. V případě, že je null, vraťte prázdný výčet.

Platí pro