SPListTemplateCollection 成员

代表SPListTemplate对象的集合。

SPListTemplateCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Count 获取集合中的列表定义或列表模板的数量。 (覆盖 SPBaseCollection.Count。)
公共属性 Item[Int32] 获取集合中指定索引处的列表定义或列表模板对象。在 Microsoft Visual C#,此属性是SPListTemplateCollection类索引器。
公共属性 Item[String] 从集合中获取的列表定义或具有指定名称的列表模板对象。在 Microsoft Visual C#,此属性是SPListTemplateCollection类索引器。
公共属性 SchemaXml 获取架构描述的列表定义的集合。
公共属性 Web 获取父网站的集合。

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetEnumerator 获取要循环访问集合的枚举。 (从 SPBaseCollection 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 GetTypedEnumerator<T> 返回以循环访问集合的类型安全枚举。 (从 SPBaseCollection 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式 接口 实现

  名称 说明
显式接口实现私有方法 ICollection.CopyTo 将集合中的元素复制到的指定索引处开始的数组。 (从 SPBaseCollection 继承。)
显式接口实现私有属性 ICollection.IsSynchronized 获取一个布尔值,指示集合访问是同步还是线程安全。 (从 SPBaseCollection 继承。)
显式接口实现私有属性 ICollection.SyncRoot 获取用于同步到集合的对象。 (从 SPBaseCollection 继承。)

页首

另请参阅

引用

SPListTemplateCollection 类

Microsoft.SharePoint 命名空间