DiffItemVersionedFile Constructor (Item, VersionSpec)
Initializes a new DiffItemVersionedFile instance.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
item As Item, _
version As VersionSpec _
)
public DiffItemVersionedFile(
Item item,
VersionSpec version
)
public:
DiffItemVersionedFile(
Item^ item,
VersionSpec^ version
)
new :
item:Item *
version:VersionSpec -> DiffItemVersionedFile
public function DiffItemVersionedFile(
item : Item,
version : VersionSpec
)
Parameters
item
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemThe item for which to create a diff item.
version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe version spec of the specified item.
.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.