PendingChange.DownloadBaseFile Method
Downloads the content for the base (original) file in the conflict.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub DownloadBaseFile ( _
localFileName As String _
)
'Usage
Dim instance As PendingChange
Dim localFileName As String
instance.DownloadBaseFile(localFileName)
public void DownloadBaseFile(
string localFileName
)
public:
void DownloadBaseFile(
String^ localFileName
)
public function DownloadBaseFile(
localFileName : String
)
Parameters
localFileName
Type: System.StringLocation to save the downloaded file contents.
Exceptions
Exception | Condition |
---|---|
[InvalidOperationException] | Thrown if there is no base file. This is only valid for conflicts of type Merge. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.