Gets the specified item or the entire workspace at the specified version.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Sub New ( _
    itemSpec As ItemSpec, _
    version As VersionSpec _
)
public GetRequest(
    ItemSpec itemSpec,
    VersionSpec version
)
public:
GetRequest(
    ItemSpec^ itemSpec, 
    VersionSpec^ version
)
new : 
        itemSpec:ItemSpec * 
        version:VersionSpec -> GetRequest
public function GetRequest(
    itemSpec : ItemSpec, 
    version : VersionSpec
)
Parameters
- itemSpec
 Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
 The items to get. Specify null to get the full workspace.
- version
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
 The item version to get.
.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.