Partilhar via


SPLimitedWebPartCollection.Item Property

Include Protected Members
Include Inherited Members

Gets the WebPart with the specified identifier, or the GenericWebPart containing a control with the specified identifier, performing a case-insensitive comparison. Returns a null reference (Nothing in Visual Basic) if there are no matches.

Overload List

  Name Description
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

See Also

Reference

SPLimitedWebPartCollection Class

SPLimitedWebPartCollection Members

Microsoft.SharePoint.WebPartPages Namespace