IReadOnlyCollection<T> Interface

Definition

Simple interface that exposes a Count property over a collection

C++
generic <typename T>
public interface class IReadOnlyCollection : Microsoft::VisualStudio::GraphModel::IHasGraphOwner, System::Collections::Generic::IEnumerable<T>

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

Product Versions
Visual Studio SDK 2017, 2019, 2022