Web.GetFileByUrl method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetFileByUrl ( _
fileUrl As String _
) As File
'Usage
Dim instance As Web
Dim fileUrl As String
Dim returnValue As File
returnValue = instance.GetFileByUrl(fileUrl)
public File GetFileByUrl(
string fileUrl
)
Parameters
- fileUrl
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.File