Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.

Community Additions

ADD
Show:
© 2015 Microsoft