GetId Method
Retrieve the Document Id of the specified document.
Syntax
[VB.NET] Public Function GetId(ByVal RemoteFile As String) As String
[C#] public string GetId(string remoteFile);
Remarks
The GetId method will return the value of the Document Id for the specified RemoteFile.
Note: This is only available in the 2010 version of SharePoint and later.
NOTE: This method has a corresponding asynchronous version (GetIdAsync) for use in the WinRT environment.