Export (0) Print
Expand All

VersionSpec::AddDeletionModifierIfNecessary Method (String, Int32)

Formats a 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(
	String^ path, 
	int deletionId
)

Parameters

path
Type: System::String

The path.

deletionId
Type: System::Int32

The deletion ID.

Return Value

Type: System::String
A string that represents the path that has a formatted deletion modifier added, if it is nonzero.

Show:
© 2014 Microsoft