共用方式為


Web.GetFileById 方法

SharePoint Online只支援此 API 項目。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Function GetFileById ( _
    uniqueId As Guid _
) As File
'用途
Dim instance As Web
Dim uniqueId As Guid
Dim returnValue As File

returnValue = instance.GetFileById(uniqueId)
public File GetFileById(
    Guid uniqueId
)

參數

傳回值

類型:Microsoft.SharePoint.Client.File

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間