ReadOnlyCollection<T> 类
继承层次结构
System.Object
System.MarshalByRefObject
Microsoft.SharePoint.BusinessData.Infrastructure.Collections.ReadOnlyCollection<T>
命名空间: Microsoft.SharePoint.BusinessData.Infrastructure.Collections
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ReadOnlyCollection(Of T) _
Inherits MarshalByRefObject _
Implements IReadOnlyCollection(Of T), IEnumerable(Of T), _
IEnumerable
用法
Dim instance As ReadOnlyCollection(Of T)
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ReadOnlyCollection<T> : MarshalByRefObject,
IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
类型参数
- T
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
引用
Microsoft.SharePoint.BusinessData.Infrastructure.Collections 命名空间