| SharePointClientGetFileByUrl Method |
Gets a File object representing a file on the SharePoint server with the specified relative URL.
Namespace:
Galactic.SharePoint
Assembly:
Galactic.SharePoint (in Galactic.SharePoint.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public File GetFileByUrl(
string relativeUrl
)
Public Function GetFileByUrl (
relativeUrl As String
) As File
public:
File^ GetFileByUrl(
String^ relativeUrl
)
member GetFileByUrl :
relativeUrl : string -> File
Parameters
- relativeUrl
- Type: SystemString
The relative URL of the file to retrieve from the base of the web application containing it.
Return Value
Type:
FileThe File object representing the file at the specified URL or null if it does not
exist or otherwise couldn't be retrieved.
See Also