ItemSpec.FromStrings Method
Gets an array of ItemSpec objects from the specified array of local or server paths and a recursion level.
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 _
) As ItemSpec()
public static ItemSpec[] FromStrings(
string[] paths,
RecursionType recursion
)
public:
static array<ItemSpec^>^ FromStrings(
array<String^>^ paths,
RecursionType recursion
)
static member FromStrings :
paths:string[] *
recursion:RecursionType -> ItemSpec[]
public static function FromStrings(
paths : String[],
recursion : RecursionType
) : ItemSpec[]
Parameters
paths
Type: array<System.String[]An array of local or server paths.
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeThe recursion level to search.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]
An array of ItemSpec objects.
.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.