SPContext.File property
取得與指定的Microsoft SharePoint Foundation內容的清單項目物件相關聯的檔案。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property File As SPFile
Get
'用途
Dim instance As SPContext
Dim value As SPFile
value = instance.File
public SPFile File { get; }
Property value
Type: Microsoft.SharePoint.SPFile
SPFile 物件,表示該檔案。