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,则返回空枚举。 |