SPContext.ContextPageInfo property
(如果有的話),則您可以取得目前要求目前的清單項目的資訊。例如,資訊可能包括項目 ID,如果它是歡迎畫面或物件的基底的權限。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ContextPageInfo As SPContextPageInfo
Get
Friend Set
'用途
Dim instance As SPContext
Dim value As SPContextPageInfo
value = instance.ContextPageInfo
public SPContextPageInfo ContextPageInfo { get; internal set; }
Property value
Type: Microsoft.SharePoint.SPContextPageInfo
傳回SPContextPageInfo物件。