IReadOnlyCollection<T> 接口
在集合上公开计数属性的简单接口
命名空间: Microsoft.VisualStudio.GraphModel
程序集: Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)
语法
声明
Public Interface IReadOnlyCollection(Of T) _
Inherits IEnumerable(Of T), IEnumerable, IHasGraphOwner
public interface IReadOnlyCollection<T> : IEnumerable<T>,
IEnumerable, IHasGraphOwner
generic<typename T>
public interface class IReadOnlyCollection : IEnumerable<T>,
IEnumerable, IHasGraphOwner
type IReadOnlyCollection<'T> =
interface
interface IEnumerable<'T>
interface IEnumerable
interface IHasGraphOwner
end
JScript 不支持泛型类型或方法。
类型参数
- T
IReadOnlyCollection<T> 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | |
![]() |
Owner | 获取关系图此对象属于。 (继承自 IHasGraphOwner。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
GetEnumerator | 返回一个循环访问集合的枚举器。 (继承自 IEnumerable<T>。) |
页首