GetRequest.FromStrings Method
Creates an array of GetRequests from the specified array of local or server paths, recursion, and version.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function FromStrings ( _
paths As String(), _
recursion As RecursionType, _
version As VersionSpec _
) As GetRequest()
public static GetRequest[] FromStrings(
string[] paths,
RecursionType recursion,
VersionSpec version
)
public:
static array<GetRequest^>^ FromStrings(
array<String^>^ paths,
RecursionType recursion,
VersionSpec^ version
)
static member FromStrings :
paths:string[] *
recursion:RecursionType *
version:VersionSpec -> GetRequest[]
public static function FromStrings(
paths : String[],
recursion : RecursionType,
version : VersionSpec
) : GetRequest[]
Parameters
- paths
Type: array<System.String[]
An array of local or server paths.
- recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
The recursion level.
- version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The item version to request.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.GetRequest[]
An array of GetRequests that consist of an array of local or server paths, recursion, and version information.
.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.