Share via


IReadOnlyCollection<T> Interface

Definition

Simple interface that exposes a Count property over a collection

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

Type Parameters

T
Derived
Implements

Properties

Count
Owner

Get the Graph that this object belongs to.

(Inherited from IHasGraphOwner)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to