This documentation is archived and is not being maintained.
DiffItemLocalWorkspace::Create Method
Visual Studio 2013
Creates DiffItemLocalWorkspace object for a given file in a specified local workspace.
Returns null if workspace is not local or file does not have baseline content stored.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: static DiffItemLocalWorkspace^ Create( Workspace^ workspace, String^ item )
Parameters
- workspace
- Type: Microsoft.TeamFoundation.VersionControl.Client::Workspace
The local workspace.
- item
- Type: System::String
The given file.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client::DiffItemLocalWorkspaceThe created DiffItemLocalWorkspace object.
- 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.
Show: