次の方法で共有


PendingChange.DownloadShelvedFile Method (String)

Downloads the shelved content for this pending change.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Sub DownloadShelvedFile ( _
    localFileName As String _
)
public void DownloadShelvedFile(
    string localFileName
)
public:
void DownloadShelvedFile(
    String^ localFileName
)
member DownloadShelvedFile : 
        localFileName:string -> unit
public function DownloadShelvedFile(
    localFileName : String
)

Parameters

  • localFileName
    Type: System.String

    Local file in which to save the downloaded file contents.

Exceptions

Exception Condition
InvalidOperationException

The content is not a shelved pending change.

Remarks

Throws an InvalidOperationException if this is not a shelved pending change.

.NET Framework Security

See Also

Reference

PendingChange Class

DownloadShelvedFile Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace