共用方式為


FileCollection.GetByUrl 方法

取得位於指定 URL 的檔案。

命名空間:  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 GetByUrl ( _
    url As String _
) As File
'用途
Dim instance As FileCollection
Dim url As String
Dim returnValue As File

returnValue = instance.GetByUrl(url)
public File GetByUrl(
    string url
)

參數

傳回值

類型:Microsoft.SharePoint.Client.File

請參閱

參照

FileCollection 類別

FileCollection 成員

Microsoft.SharePoint.Client 命名空間