共用方式為


Web.GetFileByUrl 方法

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

語法

'宣告
Public Function GetFileByUrl ( _
    fileUrl As String _
) As File
'用途
Dim instance As Web
Dim fileUrl As String
Dim returnValue As File

returnValue = instance.GetFileByUrl(fileUrl)
public File GetFileByUrl(
    string fileUrl
)

參數

傳回值

類型:Microsoft.SharePoint.Client.File

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間