Partager via


Item(System.Guid) Property

The Item property of the SPWebPartCollection class gets the Web Part object with the specified GUID from the collection.

[C#] In C#, this property is an indexer for the SPWebPartCollection class.

Parameters

storageKey   A GUID that identifies the Web Part.

Property Value

A Microsoft.SharePoint.WebPartPages.WebPart object that represents the Web Part.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security