SPListTemplateCollection members

Represents a collection of SPListTemplate objects.

The SPListTemplateCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of list definitions or list templates in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Int32] Gets the list definition or list template object at the specified index in the collection. In Microsoft Visual C#, this property is an indexer for the SPListTemplateCollection class.
Public property Item[String] Gets the list definitions or list template object with the specified name from the collection. In Microsoft Visual C#, this property is an indexer for the SPListTemplateCollection class.
Public property SchemaXml Gets the schema that describes the collection of list definitions.
Public property Web Gets the parent Web site of the collection.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See also

Reference

SPListTemplateCollection class

Microsoft.SharePoint namespace