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.String

    Location 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

See Also

Reference

PendingChange Class

PendingChange Members

Microsoft.TeamFoundation.VersionControl.Client Namespace