共用方式為


SPLimitedWebPartManager.GetStorageKey method

取得 Web 組件加入至網頁組件區域時,Web 組件架構所設定的唯一識別項。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Function GetStorageKey ( _
    webPart As WebPart _
) As Guid
'用途
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
Dim returnValue As Guid

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

參數

傳回值

Type: System.Guid

請參閱

參照

SPLimitedWebPartManager class

SPLimitedWebPartManager members

Microsoft.SharePoint.WebPartPages namespace