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
)
參數
url
類型:System.String檔案伺服器相對的 URL。
傳回值
類型:Microsoft.SharePoint.Client.File