Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VersionSpec.AddDeletionModifierIfNecessary Method

Formats a path to include the deletion identifier if it is non-zero.

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. path should not already include the deletion identifier.

deletionId
Type: System.Int32

The deletion id.

Return Value

Type: System.String
Returns a string which represents the original path, potentially with a formatted deletion modifier added.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.