RemoteWeb.GetFileByServerRelativeUrl 方法
命名空間: 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 GetFileByServerRelativeUrl ( _
serverRelativeFileUrl As String _
) As File
'用途
Dim instance As RemoteWeb
Dim serverRelativeFileUrl As String
Dim returnValue As File
returnValue = instance.GetFileByServerRelativeUrl(serverRelativeFileUrl)
public File GetFileByServerRelativeUrl(
string serverRelativeFileUrl
)
參數
- serverRelativeFileUrl
類型:System.String
傳回值
類型:Microsoft.SharePoint.Client.File