Share via


IReadOnlyCollection<T> Interfaccia

Definizione

Interfaccia semplice che espone una proprietà Count su una raccolta

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

Parametri di tipo

T
Derivato
Implementazioni

Proprietà

Count

Interfaccia semplice che espone una proprietà Count su una raccolta

Owner

Ottenere il grafico a cui appartiene questo oggetto.

(Ereditato da IHasGraphOwner)

Metodi di estensione

EmptyIfNull<T>(IEnumerable<T>)

Restituisce questa enumerazione nel caso in cui non sia null. In caso contrario, l'enumerazione null restituisce vuota.

Si applica a