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)

'Declaration
Public Shared Function AddDeletionModifierIfNecessary ( _
	path As String, _
	deletionId As Integer _
) As String

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:
© 2015 Microsoft