SPLimitedWebPartManager.GetStorageKey Method

Gets the unique identifier set by the Web Part Framework when a Web Part is added to a Web Part Zone.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetStorageKey ( _
    webPart As WebPart _
) As Guid
'Usage
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
Dim returnValue As Guid

returnValue = instance.GetStorageKey(webPart)
public Guid GetStorageKey(
    WebPart webPart
)

Parameters

Return Value

Type: System.Guid

See Also

Reference

SPLimitedWebPartManager Class

SPLimitedWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace