This documentation is archived and is not being maintained.

VersionSpec::AddDeletionModifierIfNecessary Method (Item)

Formats an item path to include the deletion ID if it is nonzero.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public:
static String^ AddDeletionModifierIfNecessary(
	Item^ item
)

Parameters

item
Type: Microsoft.TeamFoundation.VersionControl.Client::Item

The item to format.

Return Value

Type: System::String
A string that represents the path and deletion ID.

Show: