SPLimitedWebPartCollection Members

Include Protected Members
Include Inherited Members

A read-only collection of the ASP.NET Web Parts exposed by SPLimitedWebPartManager.

The SPLimitedWebPartCollection type exposes the following members.

Properties

  Name Description
Public property Count (Inherited from ReadOnlyCollectionBase.)
Protected property InnerList (Inherited from ReadOnlyCollectionBase.)
Public property Item[Guid] Gets the first WebPart in the collection with the specified storage key.
Public property Item[Int32] Gets the first WebPart in the collection at the specified index.
Public property Item[String] Gets the first WebPart in the collection with the specified identifier.

Top

Methods

  Name Description
Public method Contains Returns True if the specified Web Part is contained in the collection; otherwise returns False.
Public method CopyTo Copies all of the Web Parts from the collection into a compatible one-dimensional array, starting at the specified index of the target array.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from ReadOnlyCollectionBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf Searches for the specified Web Part and, if found, returns the zero-based index of the first occurrence within the collection; otherwise returns -1.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from ReadOnlyCollectionBase.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from ReadOnlyCollectionBase.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from ReadOnlyCollectionBase.)

Top

See Also

Reference

SPLimitedWebPartCollection Class

Microsoft.SharePoint.WebPartPages Namespace